Artisan commands runner for Laravel Nova
MIT License
This Nova tool lets you:
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:
route:cache
)['--allow' => ['127.0.0.1']]
)['connection' => 'database', 'queue' => 'default']
)Click on the "Command Runner" menu item in your Nova app to see the tool.