This package is used get & set data by using dedicated database table
You can install the package via composer:
composer require satheez/laravel-settings
You can publish and run the migrations with:
php artisan vendor:publish --provider="Satheez\LaravelSettings\LaravelSettingsServiceProvider"
php artisan migrate
// Method 1
settings(['foo' => 'bar']);
// Method 2
settings_set('foo', 'bar');
// Method 1
settings('foo'); // output: bar
// Method 2
settings_get('foo'); // output: bar
composer test
The MIT License (MIT). Please see License File for more information.