2017 © Pedro Peláez
 

library nice-artisan

Web interface for Laravel Artisan

image

ffogarasi/nice-artisan

Web interface for Laravel Artisan

  • Monday, April 4, 2016
  • by ffogarasi
  • Repository
  • 1 Watchers
  • 4 Stars
  • 104 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 26 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Nice Artisan

This package is to add a web interface for Laravel 5 Artisan., (*1)

For Laravel 5.2 get branch laravel_5_2 !, (*2)

For Laravel 5.1 get branch laravel_5_1 !, (*3)

It's still a work in progress., (*4)

Installation

Add Nice Artisan to your composer.json file :, (*5)

    composer require ffogarasi/nice-artisan

The next required step is to add the service provider to config/app.php :, (*6)

    FFogarasi\NiceArtisan\NiceArtisanServiceProvider::class,

And copy the package config to your local config with the publish command:, (*7)

    php artisan vendor:publish

In the config/nice-artisan.php generate a long enough random token. This is used as an API token if you want to call artisan commands using curl for example., (*8)

You can change options and commands in config/commands.php. The menu is dynamically created with this config., (*9)

Now it must work with this url :, (*10)

    .../niceartisan

Middleware

If you want to use this package on a production application you must protect the urls with a middleware for your security ! For this you can change checkUser function in the provided middleware., (*11)

And register it in Kernel with nice_artisan name :, (*12)

protected $routeMiddleware = [
    ....
    'nice_artisan' => \App\Http\Middleware\NiceArtisanMiddleware::class,
];

If you have CSRF verification enabled then create your custom VerifyCsrfToken class as it is described here: https://laravel.com/docs/master/routing section Excluding URIs From CSRF Protection and add the exception for the rest_item route, (*13)

Screenshots

nice-artisan1 nice-artisan2 nice-artisan3, (*14)

The Versions

04/04 2016

dev-master

9999999-dev http://github.com/ffogarasi/nice-artisan

Web interface for Laravel Artisan

  Sources   Download

MIT

The Requires

 

by Fogarasi Ferenc

04/04 2016

dev-laravel_5_2

dev-laravel_5_2 http://github.com/ffogarasi/nice-artisan

Web interface for Laravel Artisan

  Sources   Download

MIT

The Requires

 

by Fogarasi Ferenc

04/04 2016

dev-laravel_5_1

dev-laravel_5_1 http://github.com/ffogarasi/nice-artisan

Web interface for Laravel Artisan

  Sources   Download

MIT

The Requires

 

by Fogarasi Ferenc