PHPackages                             wronx/lumen-crud-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. [Admin Panels](/categories/admin)
4. /
5. wronx/lumen-crud-generator

ActiveLumen-package[Admin Panels](/categories/admin)

wronx/lumen-crud-generator
==========================

Simple CRUD generation for Lumen

v0.4(7y ago)03691WTFPLPHP

Since Jul 19Pushed 7y ago1 watchersCompare

[ Source](https://github.com/WRonX/Lumen-CRUD-generator)[ Packagist](https://packagist.org/packages/wronx/lumen-crud-generator)[ RSS](/packages/wronx-lumen-crud-generator/feed)WikiDiscussions master Synced today

READMEChangelog (7)Dependencies (2)Versions (8)Used By (0)

Lumen CRUD Generator
--------------------

[](#lumen-crud-generator)

> **IMPORTANT:** This package is a work in progress, it it not stable by any means.
> Use responsibly! Or don't use at all and wait for v1.0.

#### The purpose of this project

[](#the-purpose-of-this-project)

It was created to make creating simple Lumen APIs easier and faster, automating repeatable tasks.

#### Is it any good?

[](#is-it-any-good)

[Yes](https://news.ycombinator.com/item?id=3067434)

(well, it will be in stable version... I hope...)

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

[](#installation)

1. Install the package with [Composer](https://getcomposer.org/):

```
composer require --dev wronx/lumen-crud-generator
```

2. Enable it in `bootstrap/app.php`:

```
// edit the environment condition below:
if(!in_array($app->environment(), ['staging', 'production']))
    $app->register(WRonX\LumenCrudGenerator\Providers\LumenCrudGeneratorProvider::class);
```

3. Check if the `make:crud` command is present in the Artisan list.

Usage
-----

[](#usage)

`php artisan make:crud myModelName [options]`

The command always created CRUD controller for model, the rest depends on the provided options:

- `-r|--create-routes` adds CRUD routes to routes file
- `-w|--use-middleware` uses [RestObjectFetch middleware](https://github.com/WRonX/Lumen-RestObjectFetch-middleware) in controller and routes (see middleware page to learn more)
- `-m|--create-model` for now it calls `make:model` command from [Lumen Generator](https://packagist.org/packages/flipbox/lumen-generator), hopefully it will be changed later
- `-g|--create-migration` for now it calls `make:migration` command, hopefully it will be changed later
- `-t|--create-tests` creates CRUD tests code (needs some editing inside the file!)

It creates separate `CRUD` subdirectory for tests, so in order to use tests, you need to update `TestCase` (or whatever your main class is) with `Tests` namespace, which involves adding `namespace Tests;` line on the top and leading slash before `Laravel` in parent class name.

Contributing
------------

[](#contributing)

If you want to contribute, **please wait**. Until stable version arrives I want to shape this package in my specific way. Later on, pull requests will be welcome.

License:
--------

[](#license)

> Copyright © 2016 github.com/WRonX
> This work is free. You can redistribute it and/or modify it under the terms of the Do What The Fuck You Want To Public License, Version 2, as published by Sam Hocevar. See  for more details

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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 ~14 days

Recently: every ~21 days

Total

7

Last Release

2766d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/555cc453c9565f372984ee4f53450d1e24738ecc142828c51716117db47ecac5?d=identicon)[WRonX](/maintainers/WRonX)

---

Top Contributors

[![WRonX](https://avatars.githubusercontent.com/u/2788306?v=4)](https://github.com/WRonX "WRonX (27 commits)")

---

Tags

lumencrudcrud generator

### Embed Badge

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

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

###  Alternatives

[appzcoder/crud-generator

Laravel CRUD Generator

1.4k581.4k7](/packages/appzcoder-crud-generator)[ibex/crud-generator

Laravel CRUD Generator

706235.0k](/packages/ibex-crud-generator)[crestapps/laravel-code-generator

An intelligent code generator for Laravel framework that will save you time! This awesome tool will help you generate resources like views, controllers, routes, migrations, languages and/or form-requests! It is extremely flexible and customizable to cover many on the use cases. It is shipped with cross-browsers compatible template, along with a client-side validation to modernize your application.

76591.7k1](/packages/crestapps-laravel-code-generator)[mehradsadeghi/laravel-crud-generator

Generate CRUD for your laravel application like a breeze

17012.5k](/packages/mehradsadeghi-laravel-crud-generator)[takielias/tablar-crud-generator

Laravel Tablar Crud Generator based on https://github.com/takielias/tablar

315.6k](/packages/takielias-tablar-crud-generator)[symfonyid/admin-bundle

Provide Admin Generator with KISS Principle

141.6k](/packages/symfonyid-admin-bundle)

PHPackages © 2026

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