yellowhuang/laravel-artisan-assist

There is no license information available for the latest version (1.0.0) of this package.

artisan make for laravel

1.0.0 2017-04-06 08:46 UTC

This package is not auto-updated.

Last update: 2024-05-03 19:01:13 UTC


README

As others package, use composer install this package. For example:

$ composer require yellowhuang/laravel-artisan-assist

Secondly, you need to register service provider in config/app.php.

    'providers' => [
    ...
    /*
     * Package Service Providers...
     */
     Yellow\ArtisanAssist\ArtisanAssistServiceProvider::class,
    ...

Thirdly, Going to app/Console/Kernel.php, adding console command.

protected $commands = [
        \Yellow\ArtisanAssist\Commands\makeService::class,
        \Yellow\ArtisanAssist\Commands\makeRepository::class,
        \Yellow\ArtisanAssist\Commands\makeTransformer::class,
];

Finally, you can checkout $ php artisan and you can see 3 commands.

  make:service           
  make:respository
  make:transformer