Laravel Backpack (aka Backpack\CRUD) is a good package that we can use to quickly build an admin interface for our Eloquent models.

Now we can easily build an admin control panel within a few minutes!

Laravel Backpack

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)

Install

1) In your terminal:

$ composer require backpack/crud

2) Add this to your config/app.php, under "providers":

    Backpack\CRUD\CrudServiceProvider::class,
    'Collective\Html\HtmlServiceProvider',
    'Barryvdh\Elfinder\ElfinderServiceProvider',

3) Add this to your config/app.php, under "aliases":

    'CRUD' => 'Backpack\CRUD\CrudServiceProvider',
    'Form' => 'Collective\Html\FormFacade',
    'Html' => 'Collective\Html\HtmlFacade',

4) Run:

$ php artisan elfinder:publish #published elfinder assets
$ php artisan vendor:publish --provider="Backpack\CRUD\CrudServiceProvider" --tag="public" #publish CRUD assets
$ php artisan vendor:publish --provider="Backpack\CRUD\CrudServiceProvider" --tag="elfinder" #publish overwritten elFinder assets

5) Define an 'uploads&