cleaniquecoders/laravel-artisan-runner

Run allowlisted Artisan commands from a Livewire UI

Maintainers

Package info

github.com/cleaniquecoders/laravel-artisan-runner

pkg:composer/cleaniquecoders/laravel-artisan-runner

Fund package maintenance!

CleaniqueCoders

Statistics

Installs: 4

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 1

1.2.1 2026-03-30 08:40 UTC

This package is auto-updated.

Last update: 2026-03-30 11:14:09 UTC


README

Latest Version on Packagist License GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

Laravel Artisan Runner

Run allowlisted Artisan commands from a Livewire UI. Every execution is logged to the database and notifications are sent on completion or failure.

Artisan Runner Screenshot

Features

  • Three discovery modes - Manual allowlist, auto-discover, or selective discovery
  • Livewire 4 UI - Select commands, configure parameters, and view output in real-time
  • Async by default - Commands run via queued jobs, never blocking HTTP requests
  • Full audit trail - Every execution logged with who, what, when, and result
  • Output viewer - Click any execution to expand terminal-style command output
  • Notifications - Mail and database notifications on completion or failure
  • Dynamic parameters - Arguments and options rendered separately with proper input types

Installation

composer require cleaniquecoders/laravel-artisan-runner

Publish and run migrations:

php artisan artisan-runner:install
php artisan migrate

Quick Start

Add a command to your allowlist in config/artisan-runner.php:

'allowed_commands' => [
    'cache:clear' => [
        'label'       => 'Clear Cache',
        'description' => 'Flush the application cache.',
        'group'       => 'Cache',
        'parameters'  => [],
    ],
],

Include the Livewire component in any Blade view:

<livewire:artisan-runner::command-runner />

Start your queue worker and run commands from the UI.

Documentation

Full documentation is available in the docs directory:

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.