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

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

vonsogt/generators
==================

Generate files for laravel projects

v2.0.7(6y ago)05proprietaryPHP

Since Mar 9Pushed 6y agoCompare

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

READMEChangelogDependencies (3)Versions (37)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.

> ### 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 backpack/generators --dev
```

For Laravel 5.5 - you're done.

For Laravel 5.4 or 5.3 you'll only want to use these generators for `local` development, so you don't want to update the `production` providers array in `config/app.php`. Instead, add the provider in `app/Providers/AppServiceProvider.php`, like so:

```
public function register()
{
    if ($this->app->environment() == 'local') {
        // $this->app->register('Laracasts\Generators\GeneratorsServiceProvider'); // you're using Jeffrey way's generators, too, right?
        $this->app->register('Backpack\Generators\GeneratorsServiceProvider');
    }
}
```

Usage
-----

[](#usage)

Open the console and enter one of the commands to generate:

- Models (available options: --softdelete)

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

- Requests

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

- Views (available options: --plain)

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

- Config files

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

- All files for a new Backpack\\CRUD interface:

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

- 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}
```

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)

The MIT License (MIT). Please see [License File](LICENSE.md) 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 - let's see if we can work together](https://backpackforlaravel.com/need-freelancer-or-development-team).

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity75

Established project with proven stability

 Bus Factor1

Top contributor holds 86.1% 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 ~45 days

Recently: every ~40 days

Total

33

Last Release

2265d ago

Major Versions

1.2.7 → v3.x-dev2019-05-03

PHP version history (2 changes)1.0.0PHP &gt;=5.6.0

1.0.1PHP &gt;=5.5.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/110f07a01b9ef14f977c4226df2deb2e0311a76d8ba3495c745e82891fe0bf61?d=identicon)[vonsogt](/maintainers/vonsogt)

---

Top Contributors

[![tabacitu](https://avatars.githubusercontent.com/u/1032474?v=4)](https://github.com/tabacitu "tabacitu (118 commits)")[![pavoltanuska](https://avatars.githubusercontent.com/u/4980667?v=4)](https://github.com/pavoltanuska "pavoltanuska (3 commits)")[![iMokhles](https://avatars.githubusercontent.com/u/1247248?v=4)](https://github.com/iMokhles "iMokhles (3 commits)")[![OwenMelbz](https://avatars.githubusercontent.com/u/1094740?v=4)](https://github.com/OwenMelbz "OwenMelbz (2 commits)")[![Ghitu](https://avatars.githubusercontent.com/u/7511010?v=4)](https://github.com/Ghitu "Ghitu (1 commits)")[![juanem1](https://avatars.githubusercontent.com/u/793514?v=4)](https://github.com/juanem1 "juanem1 (1 commits)")[![juniorgarcia](https://avatars.githubusercontent.com/u/16159850?v=4)](https://github.com/juniorgarcia "juniorgarcia (1 commits)")[![Piterden](https://avatars.githubusercontent.com/u/5930429?v=4)](https://github.com/Piterden "Piterden (1 commits)")[![pleone](https://avatars.githubusercontent.com/u/1419070?v=4)](https://github.com/pleone "pleone (1 commits)")[![vonsogt](https://avatars.githubusercontent.com/u/35516476?v=4)](https://github.com/vonsogt "vonsogt (1 commits)")[![AbbyJanke](https://avatars.githubusercontent.com/u/487798?v=4)](https://github.com/AbbyJanke "AbbyJanke (1 commits)")[![votintsev](https://avatars.githubusercontent.com/u/3229523?v=4)](https://github.com/votintsev "votintsev (1 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (1 commits)")[![errogaht](https://avatars.githubusercontent.com/u/6324265?v=4)](https://github.com/errogaht "errogaht (1 commits)")[![flartet](https://avatars.githubusercontent.com/u/1814609?v=4)](https://github.com/flartet "flartet (1 commits)")

---

Tags

requestconfigmodelviewgenerators

###  Code Quality

TestsPHPUnit

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/vonsogt-generators/health.svg)](https://phpackages.com/packages/vonsogt-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)
