This package is abandoned and no longer maintained. The Laravel WebSocket package has its own restart command now.
This adds a console command to restart the Laravel WebSocket server.
Helpful if you deploy automatically (e.g. with Laravel Envoyer).
composer require zaxxo/laravel-websockets-restart
php artisan websockets:restart
This only works if the server is automatically restarted with Supervisor or something else.