Skip to content

Build a custom admin interface for your Eloquent models, using Laravel 5.2 to 5.6

License

Notifications You must be signed in to change notification settings

gareth-ib/CRUD

 
 

Repository files navigation

Backpack\CRUD

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

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
  • 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)
  • 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

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:

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 39 EUR/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 to 5.6

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 42.1%
  • PHP 23.6%
  • HTML 18.2%
  • CSS 16.0%
  • Shell 0.1%