Pertama sekali kita setup dulu laravelnya

composer global require laravel/installer
laravel new example-app
cd example-app
php artisan serve