tjslash/cto-backpack-operations

1.0.2 2022-12-22 04:16 UTC

This package is auto-updated.

Last update: 2024-04-22 07:13:27 UTC


README

Latest Version on Packagist Total Downloads The Whole Fruit Manifesto

This package provides Backpack Operations functionality for projects that use the Backpack for Laravel administration panel.

Screenshots

Screenshot screencapture-127-0-0-1-8000-admin-article-setting-2022-12-21-09_55_03

Installation

Via Composer

composer require tjslash/cto-backpack-operations

Usage

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',
        ]);
    }
    ...
}

Change log

Changes are documented here on Github. Please see the Releases tab.

Testing

composer test

Contributing

Please see contributing.md for a todolist and howtos.

Security

If you discover any security related issues, please email vakylenkox@gmail.com instead of using the issue tracker.

Credits

License

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.