install laravel locally code example
Example 1: create laravel project
composer create-project laravel/laravel example-app
cd example-app
php artisan serve
Example 2: laravelstart project
composer create-project laravel/laravel your-project-name 4.2.*
Example 3: laravel documentation
composer create-project --prefer-dist laravel/laravel blog