laravel 4 install composer code example
Example 1: install laravel
composer create-project --prefer-dist laravel/laravel blog "6.*"
Example 2: laravel install by composer
composer create-project --prefer-dist laravel/laravel blog
cd example-app
php artisan serve
Example 3: composer install laravel
composer global require laravel/installer