PHPackages                             flipbox/lumen-generator - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Templating &amp; Views](/categories/templating)
4. /
5. flipbox/lumen-generator

ActiveLibrary[Templating &amp; Views](/categories/templating)

flipbox/lumen-generator
=======================

A Lumen Generator You Are Missing

9.3.0(2y ago)8302.8M—4.6%124[3 PRs](https://github.com/flipboxstudio/lumen-generator/pulls)17MITPHPCI passing

Since Oct 20Pushed 3mo ago24 watchersCompare

[ Source](https://github.com/flipboxstudio/lumen-generator)[ Packagist](https://packagist.org/packages/flipbox/lumen-generator)[ RSS](/packages/flipbox-lumen-generator/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelog (10)Dependencies (6)Versions (53)Used By (17)

Lumen Generator
===============

[](#lumen-generator)

[![Total Downloads](https://camo.githubusercontent.com/b765f74da65fce661108aba7fcdf54e5ccdb59d75f55c4520e32fbb2b67093ad/68747470733a2f2f706f7365722e707567782e6f72672f666c6970626f782f6c756d656e2d67656e657261746f722f642f746f74616c2e737667)](https://packagist.org/packages/flipbox/lumen-generator)[![Latest Stable Version](https://camo.githubusercontent.com/108f15941abeb82664e2dd278b7f3d6e1b3bb2576623883adb68b370db83f17d/68747470733a2f2f706f7365722e707567782e6f72672f666c6970626f782f6c756d656e2d67656e657261746f722f762f737461626c652e737667)](https://packagist.org/packages/flipbox/lumen-generator)[![Latest Unstable Version](https://camo.githubusercontent.com/a32d5bef35144f057c3071011fd50d04bc8b14b684af3e411316f595822bded1/68747470733a2f2f706f7365722e707567782e6f72672f666c6970626f782f6c756d656e2d67656e657261746f722f762f756e737461626c652e737667)](https://packagist.org/packages/flipbox/lumen-generator)[![License](https://camo.githubusercontent.com/a9e6b89b89047064649cd1e2d856d1c13cdac1a8f3cd096fb37504ba4229d1a0/68747470733a2f2f706f7365722e707567782e6f72672f666c6970626f782f6c756d656e2d67656e657261746f722f6c6963656e73652e737667)](https://packagist.org/packages/flipbox/lumen-generator)

Do you miss any Laravel code generator on your Lumen project? If yes, then you're in the right place.

Installation
------------

[](#installation)

To use *some* generators command in Lumen (just like you do in Laravel), you need to add this package:

```
composer require flipbox/lumen-generator
```

Configuration
-------------

[](#configuration)

Inside your `bootstrap/app.php` file, add:

```
$app->register(Flipbox\LumenGenerator\LumenGeneratorServiceProvider::class);
```

Available Command
-----------------

[](#available-command)

```
key:generate         Set the application key

make:cast            Create a new custom Eloquent cast class
make:channel         Create a new channel class
make:command         Create a new Artisan command
make:controller      Create a new controller class
make:event           Create a new event class
make:exception       Create a new custom exception class
make:factory         Create a new model factory
make:job             Create a new job class
make:listener        Create a new event listener class
make:mail            Create a new email class
make:middleware      Create a new middleware class
make:migration       Create a new migration file
make:model           Create a new Eloquent model class
make:notification    Create a new notification class
make:observer        Create a new observer class
make:pipe            Create a new pipe class
make:policy          Create a new policy class
make:provider        Create a new service provider class
make:request         Create a new form request class
make:resource        Create a new resource
make:rule            Create a new rule
make:seeder          Create a new seeder class
make:test            Create a new test class

notifications:table  Create a migration for the notifications table

schema:dump          Dump the given database schema

```

Additional Useful Command
-------------------------

[](#additional-useful-command)

```
clear-compiled    Remove the compiled class file
serve             Serve the application on the PHP development server
tinker            Interact with your application
optimize          Optimize the framework for better performance
route:list        Display all registered routes.

```

> **NOTES** `route:list` command has been added via [appzcoder/lumen-route-list](https://github.com/appzcoder/lumen-route-list) package.

Tinker `include` Argument Usage
-------------------------------

[](#tinker-include-argument-usage)

`php artisan tinker path/to/tinker/script.php`

script.php example:

```
$environment = app()->environment();
$output = new Symfony\Component\Console\Output\ConsoleOutput();
$output->writeln("Hello the app environment is `{$environment}`");
$output->writeln("Did something");
$output->writeln("Did something bad");

```

###  Health Score

62

—

FairBetter than 99% of packages

Maintenance54

Moderate activity, may be stable

Popularity65

Solid adoption and visibility

Community42

Growing community involvement

Maturity76

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~56 days

Recently: every ~180 days

Total

49

Last Release

803d ago

Major Versions

5.6.10 → 6.02019-09-18

6.0.11 → 7.0.02020-06-10

7.0.2 → 8.0.02020-09-17

8.2.2 → 9.0.02022-03-14

### Community

Maintainers

![](https://www.gravatar.com/avatar/5585ab7e83e92b16ebfde64d7d90ff330721bcb1fbfa193fb0ffe149a4b3a7d1?d=identicon)[krisanalfa](/maintainers/krisanalfa)

![](https://www.gravatar.com/avatar/7a17b7989691f234e4ee26c5535d1ba2f03fd67486d0dd02e9359daab7af3d88?d=identicon)[flipbox](/maintainers/flipbox)

---

Top Contributors

[![joelhy](https://avatars.githubusercontent.com/u/94154?v=4)](https://github.com/joelhy "joelhy (61 commits)")[![krisanalfa](https://avatars.githubusercontent.com/u/3734729?v=4)](https://github.com/krisanalfa "krisanalfa (29 commits)")[![jorgemudry](https://avatars.githubusercontent.com/u/1508989?v=4)](https://github.com/jorgemudry "jorgemudry (22 commits)")[![ssi-anik](https://avatars.githubusercontent.com/u/2676602?v=4)](https://github.com/ssi-anik "ssi-anik (13 commits)")[![aqidd](https://avatars.githubusercontent.com/u/1284186?v=4)](https://github.com/aqidd "aqidd (6 commits)")[![blestab](https://avatars.githubusercontent.com/u/5468546?v=4)](https://github.com/blestab "blestab (2 commits)")[![laravel-shift](https://avatars.githubusercontent.com/u/15991828?v=4)](https://github.com/laravel-shift "laravel-shift (2 commits)")[![GrahamCampbell](https://avatars.githubusercontent.com/u/2829600?v=4)](https://github.com/GrahamCampbell "GrahamCampbell (2 commits)")[![simonhamp](https://avatars.githubusercontent.com/u/31628?v=4)](https://github.com/simonhamp "simonhamp (1 commits)")[![tswestendorp](https://avatars.githubusercontent.com/u/1061961?v=4)](https://github.com/tswestendorp "tswestendorp (1 commits)")[![vkosciuszko](https://avatars.githubusercontent.com/u/27742874?v=4)](https://github.com/vkosciuszko "vkosciuszko (1 commits)")[![webidew](https://avatars.githubusercontent.com/u/56021135?v=4)](https://github.com/webidew "webidew (1 commits)")[![AMS777](https://avatars.githubusercontent.com/u/32177639?v=4)](https://github.com/AMS777 "AMS777 (1 commits)")[![wilbur-yu](https://avatars.githubusercontent.com/u/7148309?v=4)](https://github.com/wilbur-yu "wilbur-yu (1 commits)")[![cochondeguerre](https://avatars.githubusercontent.com/u/272151221?v=4)](https://github.com/cochondeguerre "cochondeguerre (1 commits)")[![elizov](https://avatars.githubusercontent.com/u/3147097?v=4)](https://github.com/elizov "elizov (1 commits)")[![holiq](https://avatars.githubusercontent.com/u/30729921?v=4)](https://github.com/holiq "holiq (1 commits)")[![imikemiller](https://avatars.githubusercontent.com/u/24856374?v=4)](https://github.com/imikemiller "imikemiller (1 commits)")[![mohamedahmed01](https://avatars.githubusercontent.com/u/47615007?v=4)](https://github.com/mohamedahmed01 "mohamedahmed01 (1 commits)")[![mstaack](https://avatars.githubusercontent.com/u/10169509?v=4)](https://github.com/mstaack "mstaack (1 commits)")

---

Tags

laravellumenlumen-generator

### Embed Badge

![Health badge](/badges/flipbox-lumen-generator/health.svg)

```
[![Health](https://phpackages.com/badges/flipbox-lumen-generator/health.svg)](https://phpackages.com/packages/flipbox-lumen-generator)
```

###  Alternatives

[laravel/tinker

Powerful REPL for the Laravel framework.

7.4k423.8M1.8k](/packages/laravel-tinker)[tightenco/jigsaw

Simple static sites with Laravel's Blade.

2.2k438.5k29](/packages/tightenco-jigsaw)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[laravel/ui

Laravel UI utilities and presets.

2.7k134.9M601](/packages/laravel-ui)[craftcms/cms

Craft CMS

3.6k3.6M2.6k](/packages/craftcms-cms)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
