This is intended for those who want to have a clear understanding of laravel installation on MacOS Catalina. I just have created a video to make the installation guide more lucid and see it visually. Laravel installation actually has the same process compared to any other operating system. The only difference are how have you configure your server.
Before doing the laravel installation on macos, make sure that your machine was already configured. There are many ways to configure a development environment, but I’d prefer the apache setup from this guide.
Second thing before proceeding the installation, kindly check first the Server Requirements. These requirements are needed since we are not using the Laravel Homestead.
- PHP >= 7.2.0
- BCMath PHP Extension
- Ctype PHP Extension
- JSON PHP Extension
- Mbstring PHP Extension
- OpenSSL PHP Extension
- PDO PHP Extension
- Tokenizer PHP Extension
- XML PHP Extension
As stated from documentation, Laravel utilizes Composer to manage its dependencies. So, before using Laravel, make sure you have Composer installed on your machine. I created this guide for the Composer Installation on Mac OS.
Another important prerequisite is the server configuration on your mac. I suggest you to follow this guide on how to setup apache on your macOS catalina. On the video below, you can see how I have setup the apache configuration specifically for laravel running on your macOS catalina.