2017 © Pedro Peláez
 

lumen lumen-make

Lumen make adds more make commands to lumen for jobs, controllers, middleware, etc.

image

michaelb/lumen-make

Lumen make adds more make commands to lumen for jobs, controllers, middleware, etc.

  • Wednesday, March 23, 2016
  • by michaelb
  • Repository
  • 2 Watchers
  • 16 Stars
  • 4,583 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 3 Open issues
  • 3 Versions
  • 19 % Grown

The README.md

lumen-make

A package built for lumen that ports most of the make commands from laravel. For lumen v5.1, but will most likely work for 5.2 as well. I haven't tested. If you have requests, let me know, or do it yourself and make a pull request, (*1)

Installation

Just run the following in the root of your project, (*2)

> composer require michaelb/lumen-make
// In bootstrap/app.php

/*
|--------------------------------------------------------------------------
| Register Service Providers
|--------------------------------------------------------------------------
|
| Here we will register all of the application's service providers which
| are used to bind services into the container. Service providers are
| totally optional, so you are not required to uncomment this line.
|
*/

//$app->register(App\Providers\AppServiceProvider::class);
$app->register(App\Providers\EventServiceProvider::class);
$app->register(MichaelB\LumenMake\LumenMakeServiceProvider::class); // <- Add this
// Optionally, if you don't want it to affect load times in production,
// you can load it conditionally

if (env('APP_ENV') != 'production' || env('APP_ENV') == 'local') {
    $app->register(MichaelB\LumenMake\LumenMakeServiceProvider::class);
}

Commands

  • make:job {name} - Makes a new job class in Jobs/
  • make:console {name} - Makes a new console command in Console/Commands/
  • make:controller {name} - Makes a new restful controller in Http/Controllers/
  • make:model {name} - Makes a new model in /
  • make:middleware {name} - Makes a new middleware class in Http/Middleware/
  • make:exception {name} - Makes a new exception class in Exceptions/
  • make:event {name} - Makes a new event class in Events/

The Versions

23/03 2016

dev-develop

dev-develop

Lumen make adds more make commands to lumen for jobs, controllers, middleware, etc.

  Sources   Download

MIT

The Requires

 

21/01 2016

dev-master

9999999-dev

Lumen make adds more make commands to lumen for jobs, controllers, middleware, etc.

  Sources   Download

MIT

The Requires

 

20/01 2016

v1.0

1.0.0.0

Lumen make adds more make commands to lumen for jobs, controllers, middleware, etc.

  Sources   Download

MIT

The Requires