create php script to run laravel command code example Example: how to run laravel project using command prompt php artisan serve