Backpack\CRUD
Quickly build an admin interface for your Eloquent models, using Laravel 5. Erect a complete CMS at 10 minutes/model, max.
Features:
- 49+ field types
- 23+ column types
- 1-1, 1-n and n-n relationships
- Table view with search, pagination, click column to sort by it
- Reordering (nested sortable)
- Back-end validation using Requests
- Translatable models (multi-language)
- Easily extend fields (customising a field type or adding a new one is as easy as creating a new view with a particular name)
- Easily overwrite functionality (customising how the create/update/delete/reorder process works is as easy as creating a new function with the proper name in your EntityCrudCrontroller)
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.
Getting started
If you have never used Backpack before, the best place to understand it and get started is backpackforlaravel.com.
Install
Please note you need to install Backpack\Base before you can use Backpack\CRUD. It will provide you with the AdminLTE design.
Installation guides:
- Install Backpack on Laravel 5.2 - deprecated, lacks a lot of features;
- Install Backpack on Laravel 5.3 - last feature update was 02 Feb 2017;
- Install Backpack on Laravel 5.4 - last feature update was 27 Sep 2017;
- Install Backpack on Laravel 5.5, 5.6, 5.7 or 5.8 - recommended;
Features
Check out the about page in the documentation to get familiar with all the Backpack\CRUD features.
Usage
If you've already checked out the features link above, take a look at how you can create a CRUD for a model in this example. At the end of the page you'll also find a way you can do everything in 1-2 minutes, using the command line and backpack/generators.
In short:
-
Make your model use the CrudTrait.
-
Create a controller that extends CrudController.
-
Create a new resource route.
-
(optional) Define your validation rules in a Request files.
Screenshots
More screenshots available at backpackforlaravel.com.
Change log
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email hello@tabacitu.ro instead of using the issue tracker.
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.
Credits
- Cristian Tabacitu - architect, designer, manager, main coder, PR guy, customer service guy & chief honcho;
- Owen Melbourne - new features, bug fixing and support;
- Cristian Tone - architecture improvements;
- Marius Constantin - bug fixing & improvements;
- Federico Liva - bug fixing;
- All Contributors
Special thanks go to:
- John Skoumbourdis - Grocery CRUD for CodeIgniter was the obvious inspiration for this package.
- Jaroen Noten - creator of AdminLTE
License
Backpack is free for non-commercial use and 39 EUR/project for commercial use. Please see License File and backpackforlaravel.com for more information.