PHPackages                             wovosoft/settings-manager - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. wovosoft/settings-manager

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

wovosoft/settings-manager
=========================

Settings Management for Laravel Application

v1.0(6y ago)14MITPHPPHP &gt;=7.2

Since Apr 12Pushed 6y ago1 watchersCompare

[ Source](https://github.com/wovosoft/settings-manager)[ Packagist](https://packagist.org/packages/wovosoft/settings-manager)[ RSS](/packages/wovosoft-settings-manager/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (3)Versions (3)Used By (0)

Settings Manager
================

[](#settings-manager)

[![styleci](https://camo.githubusercontent.com/d60937fa5155079f603a6a1f92108e436cb226c5599ff14a8700eaa264be0df6/68747470733a2f2f7374796c6563692e696f2f7265706f732f3235353036303831362f736869656c64)](https://styleci.io/repos/255060816)[![Coverage Status](https://camo.githubusercontent.com/927a788c3eebec2523c903a23a74784af62d1a7cdb1a69598ca8c3942cd2a9ed/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f776f766f736f66742f73657474696e67732d6d616e616765722f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/wovosoft/settings-manager?branch=master)

[![Packagist](https://camo.githubusercontent.com/a793a245c7735fb15be8d798672babb23f32f8309a1d61264aed113e8285deb7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f776f766f736f66742f73657474696e67732d6d616e616765722e737667)](https://packagist.org/packages/wovosoft/settings-manager)[![Packagist](https://camo.githubusercontent.com/165c8c149595bb27f3a9353a36b73b23a0c0401e59f759d429b0351c158864df/68747470733a2f2f706f7365722e707567782e6f72672f776f766f736f66742f73657474696e67732d6d616e616765722f642f746f74616c2e737667)](https://packagist.org/packages/wovosoft/settings-manager)[![Packagist](https://camo.githubusercontent.com/68f0f37da3cb480dac521d2274fb5de748c55226566445220ba4096d65a2ed88/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f776f766f736f66742f73657474696e67732d6d616e616765722e737667)](https://packagist.org/packages/wovosoft/settings-manager)

Package description: CHANGE ME

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

[](#installation)

Install via composer

```
composer require wovosoft/settings-manager
```

### Publish Configuration File

[](#publish-configuration-file)

Publish the configuration file.

```
php artisan vendor:publish --provider="Wovosoft\SettingsManager\ServiceProvider" --tag="config"
```

Publish the Vue Components. The Published components will be copied to `resources/settings-manager/settings` folder. You need to add the `Main.vue` component to your `app.js`

```
php artisan vendor:publish --provider="Wovosoft\SettingsManager\ServiceProvider" --tag="resources"
```

Publish the Migrations

```
php artisan vendor:publish --provider="Wovosoft\SettingsManager\ServiceProvider" --tag="migrations"
```

Publish the Seeds

```
php artisan vendor:publish --provider="Wovosoft\SettingsManager\ServiceProvider" --tag="seeds"
```

Usage
-----

[](#usage)

By Default all the Backend and Front-End integration is done out of the box. But if you still want to modify the process, then please include the Facade `Wovosoft\SettingsManager\Facades\Settings` in your controller or view, and use it like the instructions explained in the interface below.

```
 interface SettingsInterface
 {
     /**
      * @param number | string | array $key When Number (ID) is provided Query is operated by find() method, else by
      *                                      where('key',$key)->first(); for array returns key=>value paired aray
      * @param string|null $group
      * @param bool $getModel If true returns Model instead value
      * @return string | array | null
      */
     public function get($key, string $group = null, bool $getModel = false);

     /**
      * @param string | number $key Should be unique value. NOTE: Do not use number for creating new Settings.
      *                      Only use it when updating. Otherwise, the numeric value will be used as key's value
      * @param mixed $value mixed Arrays will be parsed as JSON
      * @param string|null $group Group Name of the Settings Option
      * @param string $type bootstrap-vue form fields or any kind of fields you want for front-end. This doesn't
      *                      related to backend. In this package we are aiming bootstrap-vue framework for front-end.
      * @param array $options Options usable for Front-End Manipulation. Like Enum DataType
      * @param bool $getModel If true returns Model instead value
      * @param null $model Due the the issue of "key as numeric", $item Model parameter is added. The function
      *                  should get the model by id or check if it is instance of the Settings.php Model. If it is already a
      *                  model do not find it, just perform the operation
      * @return mixed
      */
     public function set($key, $value, string $group = null, $type = "b-form-input", $options = [], bool $getModel = false, $model = null);

     /**
      * @param array $item ['key'=>string | number,'value'=> mixed, 'group'=>string, type'=>string, 'options'=>string | array]
      * @param bool $getModel If true returns Model instead value
      * @return mixed
      */
     public function setArray($item = [], bool $getModel = false);

     /**
      * @param array $key_values [['key'=>string | number, 'value'=>mixed, 'group'=>string, type'=>string, 'options'=>string | array]]
      * @param bool $getModel If true returns Model instead value
      * @return bool
      */
     public function setBatch($key_values = [], bool $getModel = false);

     /**
      * @param string $key
      * @param string|null $group
      * @param bool $getModel If true returns Model instead value
      * @return bool
      */
     public function has($key, string $group = null, bool $getModel = false);

     /**
      * @param string | number $key number from ID and $key for key
      * @param string|null $group
      * @param bool $getModel If true returns Model instead value
      * @return bool Found && Deleted Condition applicable.
      */
     public function delete($key, string $group = null, bool $getModel = false);

     /**
      * @param string|null $group
      * @param bool $getModel If true returns Model instead value
      * @return mixed
      */
     public function all(string $group = null, bool $getModel = false);

     /**
      * @param bool $getModel
      * @return mixed
      */
     public function allGrouped(bool $getModel = false);
 }
```

Example
-------

[](#example)

```
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use Wovosoft\SettingsManager\Facades\Settings;

class SettingsController extends Controller
{
    public function set(Request $request)
    {
        try {
            $status = Settings::set(
                $request->post("key"),
                $request->post("value"),
                $request->post("group"),
                $request->post("type"),
                $request->post("options"),
                $request->post("getModel") ?? false,
                $request->post("id") ?? null
            );
            return response()->json([
                "status" => $status,
                "msg" => $status ? "Successfully Done" : "Failed to perform the operation",
                "type" => $status ? "success" : "warning",
                "title" => $status ? "Success" : "Failed"
            ]);
        } catch (\Exception $exception) {
            return response()->json([
                "status" => false,
                "msg" => $exception->getMessage(),
                "title" => "Failed",
                "type" => "danger",
                "file" => $exception->getFile(),
                "line" => $exception->getLine()
            ], $exception->getCode());
        }
    }
}
```

Security
--------

[](#security)

If you discover any security related issues, please email or Create issues in the Github Repository.

Credits
-------

[](#credits)

- [Narayan Adhikary](https://github.com/wovosoft/settings-manager)
- [All contributors](https://github.com/wovosoft/settings-manager/graphs/contributors)

This package is bootstrapped with the help of [wovosoft/crud](https://github.com/wovosoft/crud).

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 81.8% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

2225d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f55c1cd4104a9d22fa0542cd25c22c0cb25af814b4ccad94882845916cd5eca5?d=identicon)[wovosoft](/maintainers/wovosoft)

---

Top Contributors

[![NarayanAdhikary](https://avatars.githubusercontent.com/u/10849158?v=4)](https://github.com/NarayanAdhikary "NarayanAdhikary (9 commits)")[![wovosoft](https://avatars.githubusercontent.com/u/56657054?v=4)](https://github.com/wovosoft "wovosoft (2 commits)")

---

Tags

laravelSettingsmanagerwovosoft options manager

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/wovosoft-settings-manager/health.svg)

```
[![Health](https://phpackages.com/badges/wovosoft-settings-manager/health.svg)](https://phpackages.com/packages/wovosoft-settings-manager)
```

###  Alternatives

[edvinaskrucas/settings

Persistent settings package for Laravel framework.

22483.1k1](/packages/edvinaskrucas-settings)[oriceon/laravel-settings

Laravel 5 persistent settings

207.1k1](/packages/oriceon-laravel-settings)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
