Laravel Nova tool for running Artisan commands.

Installs: 134 653

Dependents: 1

Suggesters: 0

Security: 0

Stars: 41

Watchers: 4

Forks: 3

Open Issues: 7


1.0.3 2019-01-07 23:51 UTC

This package is auto-updated.

Last update: 2022-11-21 16:47:49 UTC


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


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' => ['']])
  • 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)


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