cleaniquecoders/laravel-artisan-runner 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

cleaniquecoders/laravel-artisan-runner

最新稳定版本:1.2.1

Composer 安装命令:

composer require cleaniquecoders/laravel-artisan-runner

包简介

Run allowlisted Artisan commands from a Livewire UI

README 文档

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.

统计信息

  • 总下载量: 4
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 6
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-03-30