New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

tuvaergun/l5-options

Persistent Options Manager for Laravel 5
790 2

Larablocks Analysis

tuvaergun/l5-options has no release yet to check Laravel compatibility against.

Recommendation checks

Use with care

Use with care: meets 0 of 3 checks.

  • No dated releases
  • 0 downloads a month (needs 10,000)
  • 2 GitHub stars (needs 100)

Data from Packagist and GitHub, checked by Larablocks on Nov 26, 2026.

Install
composer require tuvaergun/l5-options:dev-master
PHP:>=5.3.0
License:MIT
Last Updated:Oct 31, 2015
Links: GitHub  ·  Packagist
Maintainer: tuvaergun

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

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

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();

Alternatives to tuvaergun/l5-options

akaunting/laravel-setting

Persistent settings package for Laravel

1,058,065 490
unisharp/laravel-settings

Persistent settings manager for laravel, translations are supported.

178,404 106
roundly-consulting/options-for-laravel

Manage global or per-entity options and preferences with typed casts and in-requ...

1,002 5
spits-online/laravel-options

Cached database options for Laravel

1,024 0
nyoncode/wire-module-settings

Application settings for wire: typed key/value settings with a page to edit them...

1,065 0