New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

pragmarx/artisan-tool

Brings Artisan to Nova
91,634 34
Install
composer require pragmarx/artisan-tool
Latest Version:v0.4.0
PHP:>=7.1.0
License:MIT
Last Updated:Jun 30, 2019
Links: GitHub  ·  Packagist
Maintainer: AntonioCarlosRibeiro

Artisan Tool

The power of Artisan in Nova

Latest Version on Packagist

Screenshots

screenshot1

screenshot1

screenshot1

Installation

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

composer require pragmarx/artisan-tool

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

// in app/Providers/NovaServiceProvider.php

// ...

public function tools()
{
    return [
        // ...
        new \PragmaRX\ArtisanTool\Tool(),
    ];
}

Whitelist Commands

Optionally, You can use the whitelistedCommands to only display a selected list of commands in the nova tool. It is often not a great idea to have every available command in production, e.g. migrate:reset.

Start by publishing the config file:

php artisan vendor:publish --provider="PragmaRX\ArtisanTool\ToolServiceProvider" --tag="config"

Next, add your commands to the config/artisan-tool.php file:

<?php

return [
    'whitelistedCommands' => [
        \Illuminate\Cache\Console\ClearCommand::class,
        \Illuminate\Foundation\Console\ViewClearCommand::class,
        \Illuminate\Foundation\Console\RouteClearCommand::class,
    ],
];

Usage

Click on the "artisan-tool" menu item in your Nova app to see the tool provided by this package.

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email acr@antoniocarlosribeiro.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

Related Packages

epartment/nova-dependency-container

A Laravel Nova field container allowing to depend on other fields values

4,703,233 378
eminiarts/nova-tabs

Laravel Nova - Tabs.

4,610,439 464
ebess/advanced-nova-media-library

Laravel Nova tools for managing the Spatie media library.

3,888,853 616
spatie/nova-tags-field

A tags field for Nova apps

2,356,168 301
kabbouchi/nova-impersonate

A Laravel Nova field allows you to authenticate as your users.

2,268,645 234

Version History

Version Released PHP License
v0.4.0 >=7.1.0 MIT
v0.3.0 >=7.1.0 MIT
v0.2.2 >=7.1.0 MIT
v0.2.1 >=7.1.0 MIT
v0.2.0 >=7.1.0 MIT