New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

smskin/lumen-make

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

Larablocks Analysis

smskin/lumen-make works with any PHP project: the latest release (v1.0.0, Feb 8, 2017) doesn't depend on Laravel.

Recommendation checks

Not advised

Not advised: no release or commit in over 2 years.

  • No release or commit in over 2 years
  • No release in the last 12 months (last: Feb 8, 2017)
  • 29 downloads a month (needs 10,000)
  • 7 GitHub stars (needs 100)

State

Likely abandoned
  • No release or commit in over 2 years.
  • Last stable release: Feb 8, 2017.
  • No releases in the last 12 months.
  • First released: Feb 8, 2017.
  • Monthly downloads: 29, down 72% from six months ago.
  • 0 open issues on GitHub.

Data from Packagist and GitHub, checked by Larablocks on Nov 28, 2026.

Install
composer require smskin/lumen-make
Latest Version:v1.0.0
License:MIT
Last Updated:May 8, 2018
Links: GitHub  ·  Packagist
Maintainer: smskin

lumen-make

A package built for lumen that ports most of the make commands from laravel.

#Info This package based on michaelb/lumen-make (https://github.com/michaelbonds/lumen-make) library. Added:

  • command for generate request (make:request)
  • providers for work with requests.

Installation

Just run the following in the root of your project

> composer require smskin/lumen-make

Uncomment line in bootstrap/app.php

$app->register(App\Providers\EventServiceProvider::class);

Add line to bootstrap/app.php for enable generators

//for enable generator permanently
$app->register(SMSkin\LumenMake\LumenMakeServiceProvider::class);

//for enable generator in development mode
if (env('APP_ENV') != 'production' || env('APP_ENV') == 'local') {
    $app->register(SMSkin\LumenMake\LumenMakeServiceProvider::class);
}

Add line to bootstrap/app.php for enable form requests

$app->register(SMSkin\LumenMake\Providers\FormRequestServiceProvider::class);

Requests info

In generated requests used FormRequest from this library. If you want migrate to Laravel framework, change use line in all generated requests

use SMSkin\LumenMake\Requests\FormRequest; 
\\to
use Illuminate\Foundation\Http\FormRequest;
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/
  • make:request {name} - Makes a new request class in Http/Requests/

Related Packages

kikocorsentino/lumen-maker

Lumen Maker improves Lumen with controllers and models generator.

13 0

Version History

Version Released License
v1.0.0 MIT