Step 1: Installing Composer
curl -sS https://getcomposer.org/installer | php mv composer.phar /usr/local/bin/composer
Step 2: Configuring XAMPP/MAMP
XAMPP
vim ~/.bash_profile
export PATH="/Applications/XAMPP/xamppfiles/bin:$PATH"source ~/.bash_profile
MAMP
export PATH=/Applications/MAMP/bin/php/php5.5.23/bin:$PATH
source ~/.bash_profile
Step 3: Installing Laravel 5
composer create-project laravel/laravel dev-develop
php artisan -V
Nhận xét
Đăng nhận xét