PHPackages                             rezahmady/setting-operation - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. rezahmady/setting-operation

ActiveLibrary

rezahmady/setting-operation
===========================

setting operation for backpackforlaravel package

2.0.1(1y ago)6210MITPHP

Since Feb 4Pushed 1y agoCompare

[ Source](https://github.com/rezahmady/setting-operation)[ Packagist](https://packagist.org/packages/rezahmady/setting-operation)[ Docs](https://github.com/rezahmady/setting-operation)[ RSS](/packages/rezahmady-setting-operation/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (10)Dependencies (1)Versions (16)Used By (0)

SettingOperation
================

[](#settingoperation)

Backpack Setting Operation to save customize settings for each CRUD. Uses Backpackforlaravel. Works on Laravel 5.2 to Laravel 10.

Backpackforlaravel is cool admin panel for laravel.

Many times it is necessary to make settings for some CRUDs, for example, for the transactions CRUD, you need bank port settings, or for product management, you need settings related to transportation, taxes, etc.

You can even make many of your backpack settings dynamic with this add-on.

Installation
------------

[](#installation)

Via Composer

```
$ composer require rezahmady/setting-operation
```

publish vendor :

```
$ php artisan vendor:publish
```

migrate add-on table :

```
$ php artisan migrate
```

Why do you need this add-on ?
-----------------------------

[](#why-do-you-need-this-add-on-)

If you, like me, believe that each CRUD can be a separate module, then having the settings for each crud (module) is important.

The backpack has a settings add-on that I don't think is practical at all.Funny, you have to save the fields as json in the database. But in this add-on, like other operations such as CreateOperation and UpdateOperation, easily use the all backpack fields.

Usage
-----

[](#usage)

**Step 1.** In your CrudController, use the operation trait:

```
