2017 © Pedro Peláez
 

asgard-module bcrud-module

Crud Module for AsgardsCMS based on https://backpackforlaravel.com/

image

imagina/bcrud-module

Crud Module for AsgardsCMS based on https://backpackforlaravel.com/

  • Monday, January 29, 2018
  • by imagina
  • Repository
  • 1 Watchers
  • 1 Stars
  • 121 Installations
  • HTML
  • 1 Dependents
  • 0 Suggesters
  • 381 Forks
  • 0 Open issues
  • 15 Versions
  • 25 % Grown

The README.md

Backpack\CRUD

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

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

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), (*3)

Subscribe to the Mailchimp list to be announced of any major features or breaking changes (once every 1-3 months)., (*4)

List / table view for Backpack/CRUD, (*5)

Install

1) In your terminal:, (*6)

``` bash $ composer require backpack/crud, (*7)


2) Add this to your config/app.php, under "providers": ```php Backpack\CRUD\CrudServiceProvider::class,

3) Run:, (*8)

$ 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="lang" #publish the lang files
$ php artisan vendor:publish --provider="Backpack\CRUD\CrudServiceProvider" --tag="config" #publish the config file
$ php artisan vendor:publish --provider="Backpack\CRUD\CrudServiceProvider" --tag="elfinder" #publish overwritten elFinder assets

4) Define an 'uploads' disk. In your config/filesystems.php add this disk:, (*9)

'uploads' => [
            'driver' => 'local',
            'root' => public_path('uploads'),
        ],

5) If you haven't already, go through steps 3-5 from the Backpack\Base installation (it provides the general views for the admin panel - layout, menu, notification bubbles, etc)., (*10)

6) [Optional] You can now the file manager to the menu, in resources/views/vendor/backpack/base/inc/sidebar.blade.php or menu.blade.php:, (*11)

<li><a href="{{ url(config('backpack.base.route_prefix').'/elfinder') }}"><i class="fa fa-files-o"></i> <span>File manager</span></a></li>

Usage

Check out the documentation at https://laravelbackpack.com, (*12)

In short:, (*13)

  1. Make your model use the CrudTrait., (*14)

  2. Create a controller that extends CrudController., (*15)

  3. Create a new resource route., (*16)

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

(Optional) Enable Revisions

CRUD supports tracking and restoring Model change Revisions with the help of VentureCraft/revisionable., (*18)

To enable revisions on your Model do the following:, (*19)

  1. Run:
$ php artisan migrate --path=vendor/venturecraft/revisionable/src/migrations #run revisionable migrations
  1. Add the \Venturecraft\Revisionable\RevisionableTrait Trait to your Model. E.g:
namespace MyApp\Models;

class Article extends Eloquent {
    use \Backpack\CRUD\CrudTrait, \Venturecraft\Revisionable\RevisionableTrait;

    // If you are using another bootable trait the be sure to override the boot method in your model
    public static function boot()
    {
        parent::boot();
    }
}
  1. Enable access to Revisions in your CrudController with:
$this->crud->allowAccess('revisions');

Head on over to the VentureCraft/revisionable GitHub repo to see the full documentation and extra configuration options., (*20)

Screenshots

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

Change log

Please see CHANGELOG for more information what has changed recently., (*21)

Contributing

Please see CONTRIBUTING for details., (*22)

Security

If you discover any security related issues, please email hello@tabacitu.ro instead of using the issue tracker., (*23)

Credits

Special thanks go to: - John Skoumbourdis - Grocery CRUD for CodeIgniter was the obvious inspiration for this package. - Jaroen Noten - creator of AdminLTE, (*24)

License

The MIT License (MIT). Please see License File for more information., (*25)

The Versions

29/01 2018

dev-master

9999999-dev

Crud Module for AsgardsCMS based on https://backpackforlaravel.com/

  Sources   Download

MIT

The Requires

 

by Avatar imagina

29/01 2018

3.0.10

3.0.10.0

Crud Module for AsgardsCMS based on https://backpackforlaravel.com/

  Sources   Download

MIT

The Requires

 

by Avatar imagina

25/01 2018

3.0.8

3.0.8.0

Crud Module for AsgardsCMS based on https://backpackforlaravel.com/

  Sources   Download

MIT

The Requires

 

by Avatar imagina

25/01 2018

3.0.9

3.0.9.0

Crud Module for AsgardsCMS based on https://backpackforlaravel.com/

  Sources   Download

MIT

The Requires

 

by Avatar imagina

24/01 2018

3.0.7

3.0.7.0

Crud Module for AsgardsCMS based on https://backpackforlaravel.com/

  Sources   Download

MIT

The Requires

 

by Avatar imagina

29/12 2017

3.0.5

3.0.5.0

Crud Module for AsgardsCMS based on https://backpackforlaravel.com/

  Sources   Download

MIT

The Requires

 

by Avatar imagina

29/12 2017

3.0.6

3.0.6.0

Crud Module for AsgardsCMS based on https://backpackforlaravel.com/

  Sources   Download

MIT

The Requires

 

by Avatar imagina

14/10 2017

3.0.4

3.0.4.0

Crud Module for AsgardsCMS based on https://backpackforlaravel.com/

  Sources   Download

MIT

The Requires

 

by Avatar imagina

13/10 2017

3.0.3

3.0.3.0

Crud Module for AsgardsCMS based on https://backpackforlaravel.com/

  Sources   Download

MIT

The Requires

 

by Avatar imagina

26/09 2017

2.0.x-dev

2.0.9999999.9999999-dev

Crud Module for AsgardsCMS based on https://backpackforlaravel.com/

  Sources   Download

MIT

The Requires

 

by Avatar imagina

26/09 2017

3.0.1

3.0.1.0

Crud Module for AsgardsCMS based on https://backpackforlaravel.com/

  Sources   Download

MIT

The Requires

 

by Avatar imagina

26/09 2017

3.0.2

3.0.2.0

Crud Module for AsgardsCMS based on https://backpackforlaravel.com/

  Sources   Download

MIT

The Requires

 

by Avatar imagina

26/09 2017

3.0.x-dev

3.0.9999999.9999999-dev

Crud Module for AsgardsCMS based on https://backpackforlaravel.com/

  Sources   Download

MIT

The Requires

 

by Avatar imagina

26/09 2017

3.0.0

3.0.0.0

Crud Module for AsgardsCMS based on https://backpackforlaravel.com/

  Sources   Download

MIT

The Requires

 

by Avatar imagina

20/09 2017

2.0.0

2.0.0.0

Crud Module for AsgardsCMS based on https://backpackforlaravel.com/

  Sources   Download

MIT

The Requires

 

by Avatar imagina