Skip to content

Build a custom admin interface for your Eloquent models, using Laravel 5.2 or 5.3

License

Notifications You must be signed in to change notification settings

gorositopablo/CRUD

 
 

Repository files navigation

Backpack\CRUD

Latest Version on Packagist Software License Build Status Coverage Status Quality Score Style CI Total Downloads Tasks Ready to be Done

Quickly build an admin interface for your Eloquent models, using Laravel 5. Erect a complete CMS at 10 minutes/model, max.

Features:

  • 33+ field types
  • 1-n relationships
  • 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) // TODO
  • 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.

List / table view for Backpack/CRUD

Install

Please note you need to install Backpack\Base before you cand use Backpack\CRUD. It will provide you with the AdminLTE design.

For Laravel 5.3 projects please follow these steps in the documentation.

For Laravel 5.2 projects please follow these steps in the documentation. Please note Backpack on Laravel 5.2 is considered deprecated. It doesn't have all the features and will not receive updates. You should really update your Laravel to 5.3, since 5.4 is right around the corner, too.

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:

  1. Make your model use the CrudTrait.

  2. Create a controller that extends CrudController.

  3. Create a new resource route.

  4. (optional) Define your validation rules in a Request files.

Screenshots

  • List view pictured above.
  • Create/update view: Create or update view for Backpack/CRUD
  • File manager (elFinder): File manager interface for Backpack/CRUD

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 [email protected] 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

Special thanks go to:

License

Backpack is free for non-commercial use and $19/project for commercial use. Please see License File and backpackforlaravel.com for more information.

About

Build a custom admin interface for your Eloquent models, using Laravel 5.2 or 5.3

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 56.8%
  • CSS 19.3%
  • HTML 15.8%
  • PHP 8.0%
  • Shell 0.1%