This package provides Backpack Operations functionality for projects that use the Backpack for Laravel administration panel.
Via Composer
composer require tjslash/cto-backpack-operations
class ArticleCrudController extends CrudController
{
use \Tjslash\CtoBackpackOperations\Http\Controllers\Operations\SettingOperation;
...
/**
* Setup setting operation
*
* @return void
*/
protected function setupSettingOperation() : void
{
CRUD::addField([
'name' => 'articles-limit',
'label' => 'Articles limit',
]);
}
...
}
Changes are documented here on Github. Please see the Releases tab.
composer test
Please see contributing.md for a todolist and howtos.
If you discover any security related issues, please email vakylenkox@gmail.com instead of using the issue tracker.
This project was released under MIT, so you can install it on top of any Backpack & Laravel project. Please see the license file for more information.
However, please note that you do need Backpack installed, so you need to also abide by its YUMMY License. That means in production you'll need a Backpack license code. You can get a free one for non-commercial use (or a paid one for commercial use) on backpackforlaravel.com.