From the course: Laravel 9.0 Essential Training

Choose the right tool

From the course: Laravel 9.0 Essential Training

Start my 1-month free trial

Choose the right tool

- There are a variety of options available for developing and running a lot project on your computer depending on your operating system. Let's explore three of the most popular options. First option is to use a local Apache server. Second one is to use the Homestead Vagrant box and third is using Docker and Sail. If you are using macOS or Linux, you might already have an Apache server installed or it's just one command of it After that, you need to install PHP, Composer and MySQL or a similar database server. With Windows, however, you need to install a XAMPP or a WAMP server all of these. This first option is quite a long process and you might run into multiple issues. Laravel Homestead is an official prepackaged Vagrant Box that provides you a development environment without requiring you to install PHP web server and any other server software on your local machine. This runs on any OS, but you need a virtual box which takes up a proportionately large amount of system resources. Sail is a built in solution provided by Laravel that uses Docker. For this, we only need to install Docker. Even without any knowledge of Docker, Sail is fairly easy to get started with. It's also now the official way of installing Laravel specified in the documentation. You can refer the documentation here and hence we will be using Sail for the development of our Laravel project. Apart from the options just mentioned, we also have a couple of operating system specific tools that are quite popular among developers. Laravel Valet which is available only on macOS and Laragon, which is available on Windows. You are free to explore any of these options and choose the right tool that suits you. But, if you want to stay on the same page throughout the course, follow along with the next couple of videos that demonstrate the installation of Laravel with Sail on Mac and Windows.

Contents