xxxxxxxxxx
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.
xxxxxxxxxx
# Find the process ID associated with the artisan serve command
netstat -ano | findstr :8000
# Kill the process using the identified PID
taskkill /F /PID <PID>