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

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

offline/persistent-settings
===========================

Persistent Settings Manager for Laravel 5

v1.0.3(9y ago)62.5k31MITPHPPHP &gt;=5.3.0

Since Feb 14Pushed 9y ago2 watchersCompare

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

READMEChangelog (4)Dependencies (3)Versions (6)Used By (1)

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

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

[![Build Status](https://camo.githubusercontent.com/8bf75be5cbc70d5791a6aef29cd1d4d6faf9c0d1589111f794165e021b7cf112/68747470733a2f2f7472617669732d63692e6f72672f4f46464c494e452d476d62482f70657273697374656e742d73657474696e67732e737667)](https://travis-ci.org/OFFLINE-GmbH/persistent-settings)

This package makes it easy to store persistent key/value settings in your Laravel 5 application. All settings are stored in your database and cached in a json file to minimize database queries.

Install it
----------

[](#install-it)

To install this package include it in your `composer.json` and run `composer update`:

```
"require": {
   "offline/persistent-settings": "~1.0.0"
}

```

Add the Service Provider to the `provider` array in your `config/app.php`

```
'Offline\Settings\SettingsServiceProvider'

```

Add an alias for the facade to your `config/app.php`

```
'Settings'  => 'Offline\Settings\Facades\Settings',

```

Publish the config and migration files:

```
$ php artisan vendor:publish --provider="Offline\Settings\SettingsServiceProvider"

```

Change `config/settings.php` according to your needs. If you change `db_table`, don't forget to change the table's name in the migration file as well.

Create the `settings` table.

```
$ php artisan migrate

```

Use it
------

[](#use-it)

Set a value

```
Settings::set('key', 'value');

```

Get a value

```
$value = Settings::get('key');

```

Forget a value

```
Settings::forget('key');

```

Forget all values

```
Settings::flush();

```

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 66.7% 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 ~255 days

Total

4

Last Release

3344d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8600029?v=4)[Tobias Kündig](/maintainers/tobias-kuendig)[@tobias-kuendig](https://github.com/tobias-kuendig)

---

Top Contributors

[![tobias-kuendig](https://avatars.githubusercontent.com/u/8600029?v=4)](https://github.com/tobias-kuendig "tobias-kuendig (2 commits)")[![GertTimmerman](https://avatars.githubusercontent.com/u/6702926?v=4)](https://github.com/GertTimmerman "GertTimmerman (1 commits)")

---

Tags

laravelSettingslaravel 5Key valueregistrysettings managementpersistent

### Embed Badge

![Health badge](/badges/offline-persistent-settings/health.svg)

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

###  Alternatives

[akaunting/laravel-setting

Persistent settings package for Laravel

495805.1k7](/packages/akaunting-laravel-setting)[unisharp/laravel-settings

Persistent settings manager for laravel, translations are supported.

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

Laravel 5 Persistent Settings

6039.6k1](/packages/efriandika-laravel-settings)[oriceon/laravel-settings

Laravel 5 persistent settings

207.1k1](/packages/oriceon-laravel-settings)[torann/registry

Laravel registry manager for application configurations

222.0k](/packages/torann-registry)

PHPackages © 2026

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