laravelplus/commander · v1.0.0

Commander

Run, track and audit artisan commands from the browser. Who ran that command, with which options, and did it finish? Commander records every execution with output, duration and user, and gives you a UI to run commands safely.

return [    'enabled' => env('COMMANDER_ENABLED', true),    'url' => env('COMMANDER_URL', 'admin/commander'),    'middleware' => env('COMMANDER_MIDDLEWARE', ['auth', 'web']),    'track_output' => env('COMMANDER_TRACK_OUTPUT', true),    'track_user' => env('COMMANDER_TRACK_USER', true),    'retention_days' => env('COMMANDER_RETENTION_DAYS', 90),];
Installs402
Latestv1.0.0
PHP8.4+
Laravel12
A.MIT licensedMaintained by After.si

Powerful tools out of the box.

Who ran that command, with which options, and did it finish? Commander records every execution with output, duration and user, and gives you a UI to run commands safely.

Execution history

Every run with arguments, options, output, duration and user.

Performance analytics

Execution times, success rates and trends on a dashboard.

Argument forms

Dynamic forms for a command's arguments and options, with confirmation before running.

Failed commands

A dedicated view for failures, with retry using the original parameters.

Disabled & excluded

Show commands read-only, or hide them, with wildcard patterns.

Schedule view

Manage scheduled commands in the same interface.

Retention

Output length caps and automatic cleanup of old runs.

Set up Commander and start using it today.

Requires PHP 8.4+ and Laravel 12. Every step copies with one click.

Step 1
$ composer require laravelplus/commander
Step 2
$ php artisan vendor:publish --tag=commander-migrations
Step 3
$ php artisan vendor:publish --tag=commander-config
Step 4
$ php artisan migrate

The details.

01

Safe by default

Destructive commands like migrate:fresh and db:wipe ship in the disabled list: visible, never runnable from the UI. Everything sits behind auth and CSRF.

02

Tested

54 tests and 166 assertions.

More packages.