PHPackages                             ibrand/setting - 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. ibrand/setting

ActiveLibrary

ibrand/setting
==============

ibrand setting component

v1.2.4(5y ago)914.4k47MITPHPPHP &gt;=7.0CI failing

Since Jan 29Pushed 4y ago1 watchersCompare

[ Source](https://github.com/guojiangclub/setting)[ Packagist](https://packagist.org/packages/ibrand/setting)[ RSS](/packages/ibrand-setting/feed)WikiDiscussions master Synced 4d ago

READMEChangelog (3)Dependencies (4)Versions (14)Used By (7)

Laravel Settings
================

[](#laravel-settings)

Laravel 5.x Settings help your key value to persist.

[![Build Status](https://camo.githubusercontent.com/cede1a9f883011a2f3fe923daf777a33839bc800eac736f973afca7d257f95ab/68747470733a2f2f7472617669732d63692e6f72672f696272616e6463632f73657474696e672e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/ibrandcc/setting)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/252bf826cd74f80e561b47e2d6c3d8776c3cd518b5ed0ea21160c6dd19ad17bf/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f696272616e6463632f73657474696e672f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/ibrandcc/setting/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/a27d3acfc225c11eae9ab6c826e281be16d73a9d2a47980d659f54a3e11bc9ac/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f696272616e6463632f73657474696e672f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/ibrandcc/setting/?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/20ba5187760164663fba5fd7a705569dc4cf3c281004f94a88bfcb4844a71beb/68747470733a2f2f706f7365722e707567782e6f72672f696272616e642f73657474696e672f762f737461626c65)](https://packagist.org/packages/ibrand/setting)[![Latest Unstable Version](https://camo.githubusercontent.com/6511e61358ecbd54872943466518618c9e9071a25aba2ef2de4145163537b0a2/68747470733a2f2f706f7365722e707567782e6f72672f696272616e642f73657474696e672f762f756e737461626c65)](https://packagist.org/packages/ibrand/setting)[![License](https://camo.githubusercontent.com/002a64e95afa7bcd4e130db17e77b816f1f8aba7346c1344b300e1b7b0c88633/68747470733a2f2f706f7365722e707567782e6f72672f696272616e642f73657474696e672f6c6963656e7365)](https://packagist.org/packages/ibrand/setting)

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

[](#installation)

### Composer install

[](#composer-install)

```
$ composer require ibrand/setting -vvv
```

If your Laravel version below 5.5, you need add the follow line to the section `providers` of `config/app.php`:

```
iBrand\Component\Setting\ServiceProvider::class,
```

### Publishing config file

[](#publishing-config-file)

If you want to edit default config file, just publish it you app config folder.

```
php artisan vendor:publish --provider="iBrand\Component\Setting\ServiceProvider"
```

### Creating table for database.

[](#creating-table-for-database)

Execute artisan command

```
php artisan migrate
```

Usage
-----

[](#usage)

### Change database table name.

[](#change-database-table-name)

If you want to change database table name, you can change `config/ibrand/setting.php` after publishing config file.

```
return [

    'table_name' => 'el_system_settings',

    'cache' => true,
];
```

### Use settings() help method.

[](#use-settings-help-method)

#### Set value

[](#set-value)

```
settings(['key'=>'value'])
```

#### Get Value

[](#get-value)

```
settings('key')
```

### Use App make Method.

[](#use-app-make-method)

#### Set value

[](#set-value-1)

```
app('system_setting')->setSetting(['key'=>'value'])
```

#### Get Value

[](#get-value-1)

```
app('system_setting')->getSetting('key')
```

### Disable cache.

[](#disable-cache)

Set `cache=>false` in `config/ibrand/setting.php` file.

```
return [

    'table_name' => 'el_system_settings',

    'cache' => false,
];
```

果酱云社区
-----

[](#果酱云社区)

 [ ![点击跳转](https://camo.githubusercontent.com/6359e5bd680f99c0f946287e22a32d5935d94a942ae2116a0b2f6f0c7a70ccca/68747470733a2f2f63646e2e67756f6a69616e672e636c75622f696d6167652f323032322f30322f31362f77755f316673306a62636f32313832673238306c317661676d376265362e706e67) ](https://guojiang.club/)

- 全网真正免费的IT课程平台
- 专注于综合IT技术的在线课程，致力于打造优质、高效的IT在线教育平台
- 课程方向包含Python、Java、前端、大数据、数据分析、人工智能等热门IT课程
- 300+免费课程任你选择

 [ ![点击跳转](https://camo.githubusercontent.com/8f168577f9682601d01cf6c726dbbccd911815b2b6d4f999e27475448f22a107/68747470733a2f2f63646e2e67756f6a69616e672e636c75622f696d6167652f323032322f30322f31362f77755f316673306c383261653170713131653433316a366e31376a7331767137362e706e67) ](https://guojiang.club/)

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 81.3% 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 ~82 days

Recently: every ~165 days

Total

13

Last Release

2044d ago

PHP version history (2 changes)v1.0.0PHP &gt;=5.6

v1.0.1PHP &gt;=7.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/05a4dd937f49471fe1d2cb4da6445668df23b2ad2422789b3aaed3ef9459c377?d=identicon)[shjchen](/maintainers/shjchen)

---

Top Contributors

[![chenbidepro](https://avatars.githubusercontent.com/u/9166101?v=4)](https://github.com/chenbidepro "chenbidepro (13 commits)")[![tangqi1916](https://avatars.githubusercontent.com/u/193469035?v=4)](https://github.com/tangqi1916 "tangqi1916 (2 commits)")[![lifeagin](https://avatars.githubusercontent.com/u/17327408?v=4)](https://github.com/lifeagin "lifeagin (1 commits)")

---

Tags

componentlaravellaravel-5-packagesettingscomponentsettingibrand

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ibrand-setting/health.svg)

```
[![Health](https://phpackages.com/badges/ibrand-setting/health.svg)](https://phpackages.com/packages/ibrand-setting)
```

###  Alternatives

[ibrand/laravel-miniprogram-poster

iBrand's laravel miniprogram poster tool

7216.6k1](/packages/ibrand-laravel-miniprogram-poster)[ibrand/pay

ibrand pay component

1316.0k1](/packages/ibrand-pay)

PHPackages © 2026

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