2017 © Pedro Peláez
 

library laravel-backpack-nestedmodels

Intuitively create model trees with Laravel Backpack CRUD

image

webfactor/laravel-backpack-nestedmodels

Intuitively create model trees with Laravel Backpack CRUD

  • Saturday, February 3, 2018
  • by OliverZiegler
  • Repository
  • 2 Watchers
  • 0 Stars
  • 21 Installations
  • HTML
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 17 % Grown

The README.md

Attention: This Package is for Laravel Backpack v3 only. There are no plans to make it compatible with v4., (*1)

LaravelBackpackNestedmodels

Latest Version on Packagist ![Software License][ico-license] Build Status ![Coverage Status][ico-scrutinizer] Quality Score ![Total Downloads][ico-downloads], (*2)

Intuitively create tree structured models in your Backpack CRUD admin panel., (*3)

Install

Via Composer, (*4)

``` bash $ composer require webfactor/laravel-backpack-nestedmodels, (*5)


## Usage If you want to easily and intuitively manage your nested models with Backpack CRUD you just need to do the following: * Create your models migration. You can use the macro `$table->tree()` to get all necessary columns to work with [kalnoy/laravel-nestedset][link-nestedset] and this package. * Create your BackpackCRUD controllers and models as documented in [backpack/CRUD][link-backpack-crud] In most cases this is just running `php artisan backpack:crud` after creating the model migration. * Be sure your model uses `NestedModelTrait` * Let your CrudController extend `Webfactor\Laravel\Backpack\NestedModels\Controllers\NestedModelsCrudController` instead of BaseCrudController * Call `$this->treeSetup()` in your `setup` function **after** setting the crud model. That's all. You are ready to see your tree structure in action. Just navigate to the appropriate route. ## Customization You can run ```bash $ php artisan vendor:publish --provider="Webfactor\Laravel\Backpack\NestedModels\NestedModelsServiceProvider"

to publish all views and edit them in 'resources/views/vendor/webfactor/nestedmodels' to customize the look and feel., (*6)

Change log

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

Testing

bash $ composer test, (*8)

Contributing

Please see CONTRIBUTING and CODE_OF_CONDUCT for details., (*9)

Security

If you discover any security related issues, please email oliver.ziegler@webfactor.de instead of using the issue tracker., (*10)

Credits

License

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

The Versions

03/02 2018

dev-master

9999999-dev https://github.com/webfactor/laravel-backpack-nestedmodels

Intuitively create model trees with Laravel Backpack CRUD

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel nested set eloquent models backpack webfactor model tree

03/02 2018

v1.0.0

1.0.0.0 https://github.com/webfactor/laravel-backpack-nestedmodels

Intuitively create model trees with Laravel Backpack CRUD

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel nested set eloquent models backpack webfactor model tree