how to change the port 8000 php laravel code example Example: how to change laravel port php artisan serve --host=sample.dev --port=8080