spatie/laravel-dynamic-servers
Dynamically spin up and destroy servers from Laravel to handle variable queue workloads. Uses provider snapshots as templates and lets you determine server count (e.g., based on Horizon wait times) so extra workers are created automatically and removed when no longer needed.
Should you for some reason have the reboot servers, you can do so by calling reboot.
use \Spatie\DynamicServers\Facades\DynamicServers;
DynamicServers::reboot();
This will reboot any servers that are currently running. Server that are currently starting, will be rebooted as soon as their starting procedure is complete.
How can I help you explore Laravel packages today?