承接 guratr/nova-command-runner 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

guratr/nova-command-runner

最新稳定版本:1.0.3

Composer 安装命令:

composer require guratr/nova-command-runner

包简介

Laravel Nova tool for running Artisan commands.

README 文档

README

Latest Version on Github Total Downloads

This Nova tool lets you:

  • run & queue artisan commands
  • specify options for commands
  • get command result
  • view commands history

screenshot of the command runner tool

Installation

You can install the nova tool in to a Laravel app that uses Nova via composer:

composer require guratr/nova-command-runner

Next up, you must register the tool with Nova. This is typically done in the tools method of the NovaServiceProvider.

// in app/Providers/NovaServiceProvder.php

// ...

public function tools()
{
    return [
        // ...
        new \Guratr\CommandRunner\CommandRunner,
    ];
}

Publish the config file:

php artisan vendor:publish --provider="Guratr\CommandRunner\ToolServiceProvider"

Add your commands to config/nova-command-runner.php

Available options:

  • run : command to run (e.g. route:cache)
  • options : array of options for command (e.g. ['--allow' => ['127.0.0.1']])
  • queue : boolean (will use default settings when true) or array (e.g. ['connection' => 'database', 'queue' => 'default'])
  • type : button class (primary, secondary, success, danger, warning, info, light, dark, link)
  • group: Group name (optional)

Usage

Click on the "Command Runner" menu item in your Nova app to see the tool.

统计信息

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

GitHub 信息

  • Stars: 43
  • Watchers: 3
  • Forks: 4
  • 开发语言: Vue

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-01-07