PHPackages                             cleaniquecoders/laravel-artisan-runner - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [CLI &amp; Console](/categories/cli)
4. /
5. cleaniquecoders/laravel-artisan-runner

ActiveLibrary[CLI &amp; Console](/categories/cli)

cleaniquecoders/laravel-artisan-runner
======================================

Run allowlisted Artisan commands from a Livewire UI

1.2.1(3mo ago)14↓90.9%[1 PRs](https://github.com/cleaniquecoders/laravel-artisan-runner/pulls)MITPHPPHP ^8.3CI passing

Since Mar 30Pushed 2w agoCompare

[ Source](https://github.com/cleaniquecoders/laravel-artisan-runner)[ Packagist](https://packagist.org/packages/cleaniquecoders/laravel-artisan-runner)[ Docs](https://github.com/cleaniquecoders/laravel-artisan-runner)[ GitHub Sponsors](https://github.com/CleaniqueCoders)[ RSS](/packages/cleaniquecoders-laravel-artisan-runner/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (6)Dependencies (14)Versions (7)Used By (0)

Laravel Artisan Runner
======================

[](#laravel-artisan-runner)

[![Latest Version on Packagist](https://camo.githubusercontent.com/6f6e1450e1d1de479ad720bdd29d88455ca26236d912f279c8ec3a595d2cfcd5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f636c65616e69717565636f646572732f6c61726176656c2d6172746973616e2d72756e6e65723f7374796c653d666c61742d737175617265)](https://packagist.org/packages/cleaniquecoders/laravel-artisan-runner)[![License](https://camo.githubusercontent.com/6a6c3d722da21ee1030e693c0638132bc8d7ebfc3c49c676a15a43d622be57d7/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f636c65616e69717565636f646572732f6c61726176656c2d6172746973616e2d72756e6e65723f7374796c653d666c61742d737175617265)](LICENSE.md)[![GitHub Tests Action Status](https://camo.githubusercontent.com/4eba88b4086e8d8a87370966409b7f3acd6feeda6d0d5cc0ec462ffb510a724f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f636c65616e69717565636f646572732f6c61726176656c2d6172746973616e2d72756e6e65722f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/cleaniquecoders/laravel-artisan-runner/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/852cf1d5ca7ab8737f85d63a66bcc102e6bcd2d3b8824d9061362bef9a1c2a86/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f636c65616e69717565636f646572732f6c61726176656c2d6172746973616e2d72756e6e65722f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/cleaniquecoders/laravel-artisan-runner/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/488fe933f40b48ef6afe44ff1764592201f1ca82b4934aa8d2596edd08393a15/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f636c65616e69717565636f646572732f6c61726176656c2d6172746973616e2d72756e6e65723f7374796c653d666c61742d737175617265)](https://packagist.org/packages/cleaniquecoders/laravel-artisan-runner)

    ![Laravel Artisan Runner](art/logo-light.svg)

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](art/screenshot.png)](art/screenshot.png)

Features
--------

[](#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
------------

[](#installation)

```
composer require cleaniquecoders/laravel-artisan-runner
```

Publish and run migrations:

```
php artisan artisan-runner:install
php artisan migrate
```

Quick Start
-----------

[](#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:

```

```

Start your queue worker and run commands from the UI.

Documentation
-------------

[](#documentation)

Full documentation is available in the [docs](docs/README.md) directory:

- [Getting Started](docs/01-getting-started/README.md) - Installation, quick start, basic usage
- [Architecture](docs/02-architecture/README.md) - Design, contracts, data layer
- [Configuration](docs/03-configuration/README.md) - Config reference, environment variables
- [Livewire UI](docs/04-livewire-ui/README.md) - Component usage and customization
- [Testing](docs/05-testing/README.md) - Pest test conventions and examples
- [Advanced](docs/06-advanced/README.md) - Log pruning, notifications, extending

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Nasrul Hazim](https://github.com/nasrulhazim)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

41

—

FairBetter than 87% of packages

Maintenance90

Actively maintained with recent releases

Popularity5

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 91.4% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

4

Last Release

91d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b57069d0f4b634f65eccc6e5d5848990e25968d45ec2cf46d626c6a4658f944b?d=identicon)[nasrulhazim.m](/maintainers/nasrulhazim.m)

---

Top Contributors

[![nasrulhazim](https://avatars.githubusercontent.com/u/10341422?v=4)](https://github.com/nasrulhazim "nasrulhazim (32 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (1 commits)")

---

Tags

laravelcleaniquecoderslaravel-artisan-runner

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/cleaniquecoders-laravel-artisan-runner/health.svg)

```
[![Health](https://phpackages.com/badges/cleaniquecoders-laravel-artisan-runner/health.svg)](https://phpackages.com/packages/cleaniquecoders-laravel-artisan-runner)
```

###  Alternatives

[spatie/laravel-pdf

Create PDFs in Laravel apps

1.0k4.3M42](/packages/spatie-laravel-pdf)[filament/support

Core helper methods and foundation code for all Filament packages.

2328.3M219](/packages/filament-support)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3913.7k](/packages/rawilk-profile-filament-plugin)[mwguerra/web-terminal

A web-based terminal component for Filament/Laravel with command whitelisting and multiple connection types

294.5k](/packages/mwguerra-web-terminal)[codebar-ag/laravel-filament-json-field

A Laravel Filament JSON Field integration with CodeMirror support

1126.0k](/packages/codebar-ag-laravel-filament-json-field)[andreia/filament-ui-switcher

Add a modal with options to switch between different UI layouts and styles (colors, fonts, font sizes).

245.8k](/packages/andreia-filament-ui-switcher)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
