PHPackages                             devcuongnguyen/generators - 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. devcuongnguyen/generators

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

devcuongnguyen/generators
=========================

Generate files for laravel projects

v1.0.0(1y ago)019proprietaryPHP

Since Nov 18Pushed 1y ago1 watchersCompare

[ Source](https://github.com/devcuongnguyen/generators)[ Packagist](https://packagist.org/packages/devcuongnguyen/generators)[ Docs](https://github.com/laravel-backpack/generators)[ RSS](/packages/devcuongnguyen-generators/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

Backpack Generators
===================

[](#backpack-generators)

[![Latest Version on Packagist](https://camo.githubusercontent.com/bd402e2a86b1a200c308c434fff10f33735350df244b1be87b613ef0994c35c5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6261636b7061636b2f67656e657261746f72732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/backpack/generators)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/f95806ad8bc70f4940bced4808c746ae13785e48f25c76336f9198d9cfa815d6/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6c61726176656c2d6261636b7061636b2f67656e657261746f72732f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/laravel-backpack/generators)[![Coverage Status](https://camo.githubusercontent.com/9ed63637ea705e4bb2f0ffec0c8aa32ca9728d9e3c15453bdb0ae32fe1bdb93d/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f6c61726176656c2d6261636b7061636b2f67656e657261746f72732e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/laravel-backpack/generators/code-structure)[![Quality Score](https://camo.githubusercontent.com/b147216a5e482bd687c765728346366d56e7b9c3ae0c78f02b0b295afbfcc90b/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6c61726176656c2d6261636b7061636b2f67656e657261746f72732e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/laravel-backpack/generators)[![Style CI](https://camo.githubusercontent.com/9e3ce1e73b78fd0e4fed3ef2d73ccfaf75a607a3907e99c7711a98cfec9621e6/68747470733a2f2f7374796c6563692e696f2f7265706f732f35333439303934312f736869656c64)](https://styleci.io/repos/53490941)[![Total Downloads](https://camo.githubusercontent.com/002cd6a691d8696b50de136e40e3f22c55b75c99966be56ec569aeb4e2a0b696/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6261636b7061636b2f67656e657261746f72732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/backpack/generators)

Quickly generate Backpack templated Models, Requests, Views and Config files for projects using [Backpack for Laravel](https://backpackforlaravel.com) as their admin panel.

> ### Security updates and breaking changes
>
> [](#security-updates-and-breaking-changes)
>
> Please **[subscribe to the Backpack Newsletter](http://backpackforlaravel.com/newsletter)** so you can find out about any security updates, breaking changes or major features. We send an email every 1-2 months.

Install
-------

[](#install)

Via Composer

```
composer require --dev backpack/generators
```

Usage
-----

[](#usage)

Open the console and enter one of the commands:

- **Generate Backpack\\CRUD interfaces for all Eloquent models that don't already have one:**

```
php artisan backpack:build
```

- **Generate all files for one new Backpack\\CRUD interface:**

```
php artisan backpack:crud {Entity_name}

# Use singular, either PascalCase, snake_case or kebab-case.
# This will create a Model if there isn't one, or add
# our CrudTrait to the model if it already exists.
```

- Generate a new Backpack\\CRUD file:

```
php artisan backpack:crud-controller {Entity_name}
php artisan backpack:crud-model {Entity_name}
php artisan backpack:crud-request {Entity_name}
```

- Generate a model (available options: --softdelete)

```
php artisan backpack:model {Entity_name}
```

- Generate a request

```
php artisan backpack:request {Entity_name}
```

- Generate a view (available options: --plain)

```
php artisan backpack:view {Entity_name}
```

- Generate a config file

```
php artisan backpack:config {Entity_name}
```

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

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

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Credits
-------

[](#credits)

- [Cristian Tone](http://updivision.com)
- [Cristian Tabacitu](http://tabacitu.ro)
- [All Contributors](link-contributors)

License
-------

[](#license)

Backpack is free for non-commercial use and 69 EUR/project for commercial use. Please see [License File](LICENSE.md) and [backpackforlaravel.com](https://backpackforlaravel.com/#pricing) for more information.

Hire us
-------

[](#hire-us)

We've spend more than 50.000 hours creating, polishing and maintaining administration panels on Laravel. We've developed e-Commerce, e-Learning, ERPs, social networks, payment gateways and much more. We've worked on admin panels *so much*, that we've created one of the most popular software in its niche - just from making public what was repetitive in our projects.

If you are looking for a developer/team to help you build an admin panel on Laravel, look no further. You'll have a difficult time finding someone with more experience &amp; enthusiasm for this. This is *what we do*. [Contact us](https://backpackforlaravel.com/need-freelancer-or-development-team). Let's see if we can work together.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 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

Unknown

Total

1

Last Release

544d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b33d422767b64c288e945bc4f82cae163e81da9b8ec91a71dc4d9437a29a75df?d=identicon)[devcuongnguyen](/maintainers/devcuongnguyen)

---

Top Contributors

[![devcuongnguyen](https://avatars.githubusercontent.com/u/152869938?v=4)](https://github.com/devcuongnguyen "devcuongnguyen (1 commits)")

---

Tags

requestconfigmodelviewgenerators

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/devcuongnguyen-generators/health.svg)

```
[![Health](https://phpackages.com/badges/devcuongnguyen-generators/health.svg)](https://phpackages.com/packages/devcuongnguyen-generators)
```

###  Alternatives

[backpack/generators

Generate files for laravel projects

3122.6M18](/packages/backpack-generators)[deefour/presenter

Presenters/Decorators for PHP Objects

122.5k](/packages/deefour-presenter)

PHPackages © 2026

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