PHPackages                             tuvaergun/l5-options - 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. tuvaergun/l5-options

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

tuvaergun/l5-options
====================

Persistent Options Manager for Laravel 5

2790PHP

Since Oct 31Pushed 10y agoCompare

[ Source](https://github.com/tuvaergun/l5-options)[ Packagist](https://packagist.org/packages/tuvaergun/l5-options)[ RSS](/packages/tuvaergun-l5-options/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Persistent Options Manager for Laravel 5
========================================

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

This package makes it easy to store persistent key/value options in your Laravel 5 application. All options 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": {
   "tuvaergun/l5-options": "dev-master"
}

```

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

```
'Tuva\Options\OptionsServiceProvider'

```

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

```
'Options'  => 'Tuva\Options\Facades\Options',

```

Publish the config and migration files:

```
$ php artisan vendor:publish --provider="Tuva\Options\OptionsServiceProvider"

```

Change `config/options.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 `options` table.

```
$ php artisan migrate

```

Use it
------

[](#use-it)

Set a value

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

```

Get a value

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

```

Forget a value

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

```

Forget all values

```
Options::flush();

```

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

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

---

Top Contributors

[![tuvaergun](https://avatars.githubusercontent.com/u/3847510?v=4)](https://github.com/tuvaergun "tuvaergun (2 commits)")

### Embed Badge

![Health badge](/badges/tuvaergun-l5-options/health.svg)

```
[![Health](https://phpackages.com/badges/tuvaergun-l5-options/health.svg)](https://phpackages.com/packages/tuvaergun-l5-options)
```

###  Alternatives

[jsvrcek/ics

abstraction layer for creating multi-byte safe RFC 5545 compliant .ics files

2232.0M12](/packages/jsvrcek-ics)[eve/dto

Simplistic, flexible Data Transfer Object library

1214.8k](/packages/eve-dto)

PHPackages © 2026

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