PHPackages                             iamgerwin/filament-artisan-panel - 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. iamgerwin/filament-artisan-panel

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

iamgerwin/filament-artisan-panel
================================

A beautiful Filament panel for running Artisan commands with variable inputs, command history, and progress tracking

v1.0.0(7mo ago)01MITPHPPHP ^8.3CI failing

Since Sep 29Pushed 7mo agoCompare

[ Source](https://github.com/iamgerwin/filament-artisan-panel)[ Packagist](https://packagist.org/packages/iamgerwin/filament-artisan-panel)[ Docs](https://github.com/iamgerwin/filament-artisan-panel)[ RSS](/packages/iamgerwin-filament-artisan-panel/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (13)Versions (2)Used By (0)

Filament Artisan Panel
======================

[](#filament-artisan-panel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/1222ec91b754c6506c2804e9047bdf73178042956087f9f2b8b49aa3e85c6401/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f69616d67657277696e2f66696c616d656e742d6172746973616e2d70616e656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/iamgerwin/filament-artisan-panel)[![GitHub Tests Action Status](https://camo.githubusercontent.com/2d0d22ecb52c57db215c8aae47f5d8513f0e8af9ef8e831b02520a42ea32aa97/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f69616d67657277696e2f66696c616d656e742d6172746973616e2d70616e656c2f74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/iamgerwin/filament-artisan-panel/actions?query=workflow%3Atests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/be713ca7a7d9f15b2bdaa31819d51ba14ad6d1a2bfc2490e2d761b736301cbd6/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f69616d67657277696e2f66696c616d656e742d6172746973616e2d70616e656c2f70696e742e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/iamgerwin/filament-artisan-panel/actions?query=workflow%3Apint+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/c05abb662fd455e65765889ede7896ef7c997db80d4cf08d3b47d18783795df9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f69616d67657277696e2f66696c616d656e742d6172746973616e2d70616e656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/iamgerwin/filament-artisan-panel)

A beautiful and powerful Filament panel for running Artisan commands with ease. Execute predefined or custom commands, track command history, and manage your Laravel application directly from your Filament admin panel.

Perfect for those moments when you need to clear the cache but your SSH keys are sleeping, or when you want to migrate without opening a terminal. Because sometimes, clicking buttons is just more fun than typing commands. 🚀

Features
--------

[](#features)

- 🎨 **Beautiful UI** - Intuitive card-based interface with grouped commands
- ⚡ **Quick Actions** - Run common Artisan commands with a single click
- 🔧 **Custom Commands** - Execute custom Artisan and bash commands (optional)
- 📊 **Command History** - Track all executed commands with success/failure status
- 🎯 **Dynamic Options** - Support for command options and flags
- 🔒 **Safety First** - Confirmation dialogs for destructive operations
- 🎭 **Dark Mode** - Full support for Filament's dark mode
- 📦 **Pre-configured** - Ships with common Laravel commands out of the box
- 🚀 **Queue Support** - Queue long-running commands (optional)
- 🎨 **Customizable** - Full configuration control over appearance and behavior

Requirements
------------

[](#requirements)

- PHP 8.3 or higher
- Laravel 11.x or 12.x
- Filament 4.x

Installation
------------

[](#installation)

You can install the package via Composer:

```
composer require iamgerwin/filament-artisan-panel
```

Optionally, publish the configuration file:

```
php artisan vendor:publish --tag="filament-artisan-panel-config"
```

Optionally, publish the views:

```
php artisan vendor:publish --tag="filament-artisan-panel-views"
```

Usage
-----

[](#usage)

### Register the Plugin

[](#register-the-plugin)

Register the plugin in your Filament panel configuration:

```
use Iamgerwin\FilamentArtisanPanel\FilamentArtisanPanelPlugin;

public function panel(Panel $panel): Panel
{
    return $panel
        ->plugins([
            FilamentArtisanPanelPlugin::make(),
        ]);
}
```

That's it! The Artisan Panel will now appear in your Filament navigation.

### Configuration

[](#configuration)

The package ships with sensible defaults, but you can customize everything in the config file:

```
return [
    'navigation' => [
        'enabled' => true,
        'label' => 'Artisan Commands',
        'icon' => 'heroicon-o-command-line',
        'sort' => null,
        'group' => null,
    ],

    'history' => [
        'enabled' => true,
        'limit' => 50,
    ],

    'allow_custom_artisan_commands' => false,
    'allow_custom_bash_commands' => false,

    'execution' => [
        'timeout' => 300,
        'prevent_simultaneous_execution' => false,
    ],
];
```

### Adding Custom Commands

[](#adding-custom-commands)

You can define your own commands in the configuration file:

```
'commands' => [
    [
        'label' => 'Clear Cache',
        'command' => 'cache:clear',
        'type' => 'artisan',
        'group' => 'Cache',
        'icon' => 'heroicon-o-trash',
        'color' => 'danger',
        'confirmation' => false,
        'help' => 'Clear the application cache',
    ],
    [
        'label' => 'Run Migrations',
        'command' => 'migrate',
        'type' => 'artisan',
        'group' => 'Database',
        'icon' => 'heroicon-o-circle-stack',
        'color' => 'primary',
        'confirmation' => true,
        'help' => 'Run the database migrations',
        'options' => [
            [
                'name' => '--force',
                'label' => 'Force',
                'type' => 'checkbox',
                'help' => 'Force in production',
            ],
        ],
    ],
],
```

### Command Options

[](#command-options)

Commands can have dynamic options that users can configure before execution:

```
'options' => [
    [
        'name' => '--force',      // The command option name
        'label' => 'Force',       // Display label
        'type' => 'checkbox',     // Input type (checkbox, text, number, select)
        'help' => 'Force the operation',
    ],
    [
        'name' => '--step',
        'label' => 'Steps',
        'type' => 'number',
        'help' => 'Number of steps',
    ],
],
```

### Security Considerations

[](#security-considerations)

By default, custom commands are **disabled** for security reasons. If you want to allow users to run custom commands:

```
'allow_custom_artisan_commands' => true,  // Allow custom artisan commands
'allow_custom_bash_commands' => false,     // Keep bash commands disabled (recommended)
```

**Warning**: Enabling custom commands, especially bash commands, can be a security risk. Only enable this for trusted users in secure environments.

### Command History

[](#command-history)

The package tracks all executed commands, storing:

- Command name and parameters
- Execution timestamp
- Success/failure status
- Output (for failed commands)

You can configure history tracking:

```
'history' => [
    'enabled' => true,
    'limit' => 50,  // Maximum number of history entries
],
```

History is stored in the application cache and can be cleared using the "Clear History" button in the panel.

Pre-configured Commands
-----------------------

[](#pre-configured-commands)

The package comes with these commands out of the box:

### Cache Management

[](#cache-management)

- Clear Cache
- Clear Config Cache
- Clear Route Cache
- Clear View Cache

### Optimization

[](#optimization)

- Optimize Application
- Clear Optimization

### Database

[](#database)

- Run Migrations
- Rollback Migrations
- Seed Database

### Queue

[](#queue)

- Queue Work
- Queue Restart

### Storage

[](#storage)

- Storage Link

Testing
-------

[](#testing)

Run the test suite:

```
composer test
```

Run PHPStan:

```
composer analyse
```

Run code style fixer:

```
composer format
```

Changelog
---------

[](#changelog)

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

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

[](#contributing)

Contributions are welcome! Please feel free to submit a Pull Request.

Security
--------

[](#security)

If you discover any security-related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [iamgerwin](https://github.com/iamgerwin)
- Inspired by [nova-command-runner](https://github.com/stepanenko3/nova-command-runner)
- All Contributors

License
-------

[](#license)

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

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance62

Regular maintenance activity

Popularity1

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

231d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8f6f1736b8e2833ccb6c4098e4ecb5081d9cd5db2af370fde0365d441fbfbf59?d=identicon)[iamgerwin](/maintainers/iamgerwin)

---

Top Contributors

[![iamgerwin](https://avatars.githubusercontent.com/u/1331683?v=4)](https://github.com/iamgerwin "iamgerwin (9 commits)")

---

Tags

laravelartisanfilamentfilament-pluginFilament panelcommand runner

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/iamgerwin-filament-artisan-panel/health.svg)

```
[![Health](https://phpackages.com/badges/iamgerwin-filament-artisan-panel/health.svg)](https://phpackages.com/packages/iamgerwin-filament-artisan-panel)
```

###  Alternatives

[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[croustibat/filament-jobs-monitor

Background Jobs monitoring like Horizon for all drivers for FilamentPHP

254255.2k6](/packages/croustibat-filament-jobs-monitor)[guava/filament-modal-relation-managers

Allows you to embed relation managers inside filament modals.

7565.0k4](/packages/guava-filament-modal-relation-managers)[caresome/filament-neobrutalism-theme

A neobrutalism theme for FilamentPHP admin panels

303.2k](/packages/caresome-filament-neobrutalism-theme)[tapp/filament-google-autocomplete-field

Filament plugin that provides a Google Autocomplete field

3098.1k](/packages/tapp-filament-google-autocomplete-field)[tomatophp/filament-artisan

Simple but yet powerful library for running some artisan commands for FilamentPHP

3269.1k1](/packages/tomatophp-filament-artisan)

PHPackages © 2026

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