stop laravel server code example
Example 1: kill laravel server
sudo kill $(sudo lsof -t -i:port_number)
Example 2: php artisan serve stop
To execute php artisan serve stop simply goto your commnad line where your server is running
and press ctrl+c. It will stop your server.