Skip to content

sunzhongwei/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

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 cand 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 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

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, 5.3 or 5.4

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 53.6%
  • CSS 18.2%
  • HTML 16.3%
  • PHP 11.8%
  • Shell 0.1%