git clone laravel code example
Example 1: run laravel git project
Run all of those commands:
composer install or php composer.phar install
mv .env.example .env
php artisan key:generate
php artisan migrate
php artisan db:seed to run seeders, if any.
php artisan serve
Example 2: laravel
composer global require laravel/installer