- PHP >= 7.1.3
- PHP Extensions (OpenSSL, PDO, Mbstring, Tokenizer, XML, Ctype, JSON and BCMath)
- MySQL
- Composer
- NPM
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- Install PHP 7.2 (with brew) :
brew install [email protected]
- Install Composer (with brew) :
brew install composer
- Install Node/NPM (with brew) :
brew install node
-
Install MariaDB (with brew) :
brew install mariadb
-
Launch MariaDB :
mysql.server start
-
Auto-start MariaDB Server :
brew services start mariadb
- Install Laravel (with composer) :
composer create-project --prefer-dist laravel/laravel project-name
-
Configure Laravel: copy the
.env.example
file to new.env
file and fill in the information from your database. -
Launch Laravel:
php artisan serve