How to Install Laravel Valet on Mac
Published in
2 min readDec 18, 2019
Configure your development environment on Mac in minutes
Step 1. Install Homebrew
In first step, we require to get Homebrew using bellow command, So open your terminal or command prompt and run bellow command
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Step 2. Install PHP
Install PHP 7.4 using Homebrew via
brew install php
Step 3. Install MySQL
Install MySQL 5.7 using Homebrew via
brew install mysql@5.7
Once MySQL has been installed, you may start it using the bellow command
brew services start mysql@5.7
Step 4. Install Composer
Install Composer run bellow command
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('sha384', 'composer-setup.php') === 'e0012edf3e80b6978849f5eff0d4b4e4c79ff1609dd1e613307e16318854d24ae64f26d17af3ef0bf7cfb710ca74755a') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
php composer-setup.php
php -r…