


Once the Laravel installation is finished, Now it’s time to run the Laravel web application. This will start downloading the Laravel software and other required dependencies. Navigate to Applications/MAMP/htdocs folder in terminal & run the following command composer create -project laravel /laravel myProject "5.5.*"
#HOW TO USE MAMP PRO INSTALL#

Type i and then paste the following at the top of the file:Įxport PATH=/Applications/MAMP/bin/php/php7.2.8/bin:$PATH.Within the Terminal, run vim ~/.bash_profile.
#HOW TO USE MAMP PRO UPGRADE#
But if not then you either have to upgrade your php version on local mac, Or we can switch local PHP to use our MAMP php version which is greater than 7.1.3 If the version returned by this command is >=7.1.3, then you are good to go. 5.7 requires PHP >=7.1.3, Although the latest MAMP will have the latest PHP, it might be the case that the PHP installed local to your MAC machine is old.Ĭheck by running the following command on terminal. Test it out by command composer -v on terminal. That’s it, you now have composer on your MAC. Move the composer to /usr/local/bin/composer mv composer.phar /usr/local/bin/composer If not follow below steps.ĭownload composer installer by this command in terminal curl -sS | php Open your terminal and type out command composer -v, If this gives your the composer version that means you have composer already installed on your machine.
