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