Laravel Community Tools by Tighten
Laravel Nova icon Nova Packages

Installation Instructions

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.

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

Readme

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.

Reviews

By Eugene van der Merwe on June 18, 2020

It was good when it worked but it's incompatible with Symfony 4 or 5 meaning it won't work with Laravel 7. Also seems abandoned at Github as no replies on issues.

Back to Top
Added 7 years ago
Last updated 6 Years Ago
Version v0.4.0
Nova Version *
Composer
pragmarx/artisan-tool
GitHub stars 34
Packagist downloads 89,642

Favorites

7 users favorited

Rating

4.40
(out of 5)
★★★★★
★★★★
★★★
★★
7 ratings

Brought to you by Tighten

Issues/Feature Requests Stats Package Ideas