guratr/nova-command-runner
Run Artisan commands directly from Laravel Nova. This package adds a command runner to your Nova dashboard, letting you execute and monitor artisan commands without leaving the admin panel. Quick to install and configure, it streamlines maintenance and deployment tasks for Laravel developers.
Architecture fit
php artisan commands in the Nova admin UI. It slots into the existing Nova service provider pattern with no host-app rewiring, so architectural fit is high if Nova is already the internal ops surface.Artisan::call() / Symfony\Process in the web request lifecycle. That is a synchronous, in-process model — it inherits PHP-FPM max_execution_time, web server timeouts, and memory limits. Architecturally fine for short idempotent commands (cache:clear, queue:restart, route:list), unsuitable for long-running or interactive commands.canSee/gate mechanism. This is coarse — it gates the whole tool, not individual commands. Command-level least-privilege is not a first-class feature, which is the central architectural gap for a TPM.Integration feasibility
composer require, register the tool in NovaServiceProvider::tools(), publish config if present. Estimate 0.5–1 engineer-day for a staging POC.Technical risk
migrate:fresh, db:wipe, queue:flush, config:clear in prod) are one misclick from an incident. Assume no built-in confirmation guardrails unless verified.Key questions to resolve before adoption
Stack fit
Migration path
composer require in production if the risk review flags abandonment: pin to a tag, vendor into a private registry, retain the ability to patch.Compatibility
APP_ENV=production gates.Sequencing
Maintenance
Support
Scaling
migrate simultaneously. Add a mutex/lock per command or a simple "in-flight" guard.Failure modes
APP_ENV or stale .env.Ramp-up
How can I help you explore Laravel packages today?