PHPackages                             umobi/laravel-settings - 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. [File &amp; Storage](/categories/file-storage)
4. /
5. umobi/laravel-settings

ActiveLibrary[File &amp; Storage](/categories/file-storage)

umobi/laravel-settings
======================

Persistent settings manager for laravel, using pivoted database table

2.2.3(6y ago)019MITPHPPHP &gt;=5.5.0CI failing

Since Sep 18Pushed 6y ago1 watchersCompare

[ Source](https://github.com/umobi/laravel-settings)[ Packagist](https://packagist.org/packages/umobi/laravel-settings)[ RSS](/packages/umobi-laravel-settings/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (8)Versions (15)Used By (0)

[![Build Status](https://camo.githubusercontent.com/c1ab5c202deabb82ca119e9041277f5effaecce2cb1bea4ceb5dc819bcd62c70/68747470733a2f2f7472617669732d63692e6f72672f756d6f62692f6c61726176656c2d73657474696e67732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/umobi/laravel-settings)

Persistent Settings Manager for Laravel
=======================================

[](#persistent-settings-manager-for-laravel)

- Simple key-value storage
- Support multi-level array (dot delimited keys) structure.
- Localization supported.

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

[](#installation)

1. Install package

    ```
    composer require umobi/laravel-settings
    ```
2. Edit config/app.php (Skip this step if you are using laravel 5.5+)

    service provider:

    ```
    Umobi\Setting\SettingServiceProvider::class,
    ```

    class aliases:

    ```
    'Setting' => Umobi\Setting\SettingFacade::class,
    ```
3. Create settings table

    ```
    php artisan vendor:publish --tag=settings
    php artisan migrate
    ```

Usage
-----

[](#usage)

```
Setting::get('name', 'Computer');
// get setting value with key 'name'
// return 'Computer' if the key does not exists

Setting::lang('zh-TW')->get('name', 'Computer');
// get setting value with key and language

Setting::set('name', 'Computer');
// set setting value by key

Setting::lang('zh-TW')->set('name', 'Computer');
// set setting value by key and language

Setting::has('name');
// check the key exists, return boolean

Setting::lang('zh-TW')->has('name');
// check the key exists by language, return boolean

Setting::forget('name');
// delete the setting by key

Setting::lang('zh-TW')->forget('name');
// delete the setting by key and language
```

Dealing with array
------------------

[](#dealing-with-array)

```
Setting::get('item');
// return null;

Setting::set('item', ['USB' => '8G', 'RAM' => '4G']);
Setting::get('item');
// return array(
//     'USB' => '8G',
//     'RAM' => '4G',
// );

Setting::get('item.USB');
// return '8G';
``
```

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~148 days

Recently: every ~191 days

Total

12

Last Release

2261d ago

Major Versions

1.0.2 → 2.0.02017-05-11

### Community

Maintainers

![](https://www.gravatar.com/avatar/83062d5bcc25aa237e0a302b601f7749281d4c916382df9f60c7b660a403645d?d=identicon)[ramonvic](/maintainers/ramonvic)

---

Top Contributors

[![youchenlee](https://avatars.githubusercontent.com/u/181350?v=4)](https://github.com/youchenlee "youchenlee (26 commits)")[![streamtw](https://avatars.githubusercontent.com/u/7333171?v=4)](https://github.com/streamtw "streamtw (17 commits)")[![ramonvic](https://avatars.githubusercontent.com/u/87956?v=4)](https://github.com/ramonvic "ramonvic (15 commits)")[![storyn26383](https://avatars.githubusercontent.com/u/6954098?v=4)](https://github.com/storyn26383 "storyn26383 (4 commits)")[![s3sam](https://avatars.githubusercontent.com/u/25058465?v=4)](https://github.com/s3sam "s3sam (2 commits)")[![autocar](https://avatars.githubusercontent.com/u/5386491?v=4)](https://github.com/autocar "autocar (2 commits)")[![mbdwey](https://avatars.githubusercontent.com/u/1855786?v=4)](https://github.com/mbdwey "mbdwey (1 commits)")[![WilsonFpz](https://avatars.githubusercontent.com/u/8357635?v=4)](https://github.com/WilsonFpz "WilsonFpz (1 commits)")[![FreedomKnight](https://avatars.githubusercontent.com/u/1203922?v=4)](https://github.com/FreedomKnight "FreedomKnight (1 commits)")

---

Tags

laravelSettingsstorageKey valuepersistent

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/umobi-laravel-settings/health.svg)

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

###  Alternatives

[unisharp/laravel-settings

Persistent settings manager for laravel, translations are supported.

107169.9k2](/packages/unisharp-laravel-settings)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)[zing/laravel-flysystem-obs

Flysystem Adapter for OBS

1211.2k](/packages/zing-laravel-flysystem-obs)[vormkracht10/flysystem-uploadcare

Flysystem driver for Uploadcare for Laravel.

1834.2k](/packages/vormkracht10-flysystem-uploadcare)

PHPackages © 2026

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