script ro run laravel commands code example Example 1: how to run run laravel project php artisan serve Example 2: how to run laravel project using command prompt php artisan serve