binarybuilds/filament-command-runner
queue:work or similar) to offload command execution, which is a best practice for long-running tasks in Laravel. This avoids blocking the web request and improves responsiveness.composer require and Filament plugin registration.migrations system.php artisan cache:clear --force in production).queue:work) is not running, commands will fail silently or time out. Monitoring and auto-restart mechanisms (e.g., Supervisor) are critical.max_execution_time or memory limits, requiring adjustments to ini_set() or queue chunking.migrate, down) that should be restricted to specific roles?max_execution_time need adjustment?php artisan queue:table
php artisan migrate
php artisan queue:work --daemon
composer require binarybuilds/filament-command-runner
php artisan vendor:publish --provider="BinaryBuilds\FilamentCommandRunner\FilamentCommandRunnerServiceProvider"
app/Providers/Filament/AdminPanelProvider.php:
return [
// ...
'plugins' => [
\BinaryBuilds\FilamentCommandRunner\Plugin::make(),
],
];
config/filament-command-runner.php:
'commands' => [
'whitelist' => [
'queue:work',
'cache:clear',
'backup:run',
],
],
exec(), shell_exec(), or proc_open() are enabled (required for shell commands).queue:work, cache:clear).backup:run to trigger nightly backups").How can I help you explore Laravel packages today?