Need help with nice-artisan?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

213 Stars 24 Forks 36 Commits 7 Opened issues


This package is to add a web interface for Laravel 5 and earlier Artisan.

Services available


Need anything else?

Contributors list

# 55,823
25 commits
# 299,166
Apache ...
1 commit

Nice Artisan

This package is to add a web interface for Laravel 5 and earlier Artisan.


Add Nice Artisan to your composer.json file :

  • For Laravel 5.1
    composer require bestmomo/nice-artisan:0.3.*
  • For Laravel 5.2
    composer require bestmomo/nice-artisan:0.4.*
  • For Laravel 5.3
    composer require bestmomo/nice-artisan:0.5.*
  • For Laravel 5.4
    composer require bestmomo/nice-artisan:1.0.*
  • For Laravel 5.5
    composer require bestmomo/nice-artisan:^1.1
  • For Laravel ^6.0
    composer require bestmomo/nice-artisan:^1.2
  • For Laravel ^7.0
    composer require bestmomo/nice-artisan:^1.3
  • For Laravel ^8.0
    composer require bestmomo/nice-artisan:^1.4

For Laravel < 5.5 the next required step is to add the service provider to config/app.php (for Laravel 5.5 there is the package discovery) :


Last copy the package config to your local config with the publish command:

    php artisan vendor:publish --tag=niceartisan:config

You can change options and commands in

. The menu is dynamically created with this config.

Now it must work with this url (you can also change it in the config file):



If you want to use this package on a production application you must protect the urls with a middleware for your security !

Add a route middleware to your application, for example : ``` <?php

namespace App\Http\Middleware;

use Closure;

class NiceArtisan { /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure $next * @return mixed */ public function handle($request, Closure $next) { $user = $request->user();

    if ($user && $user->isAdmin()) {
        return $next($request);

return redirect('/');


} ```

And register it in Kernel with

name :
'nice_artisan' => \App\Http\Middleware\NiceArtisan::class,


nice-artisan1 nice-artisan2 nice-artisan3

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.