All Projects → Laravel-Backpack → Generators

Laravel-Backpack / Generators

Licence: mit
Generate files for laravel projects

Backpack Generators

Latest Version on Packagist Software License Build Status Coverage Status Quality Score Style CI Total Downloads

Quickly generate Backpack templated Models, Requests, Views and Config files.

Security updates and breaking changes

Please subscribe to the Backpack Newsletter so you can find out about any security updates, breaking changes or major features. We send an email every 1-2 months.

Install

Via Composer

composer require backpack/generators --dev

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}

# 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

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Credits

License

The MIT License (MIT). Please see License File for more information.

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 & enthusiasm for this. This is what we do. Contact us - let's see if we can work together.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].