Download the PHP package umobi/laravel-settings without Composer
On this page you can find all versions of the php package umobi/laravel-settings. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package laravel-settings
Persistent Settings Manager for Laravel
- Simple key-value storage
- Support multi-level array (dot delimited keys) structure.
- Localization supported.
Installation
-
Install package
-
Edit config/app.php (Skip this step if you are using laravel 5.5+)
service provider:
class aliases:
- Create settings table
Usage
Dealing with array
Setting::get('item');
// return null;
Setting::set('item', ['USB' => '8G', 'RAM' => '4G']);
Setting::get('item');
// return array(
// 'USB' => '8G',
// 'RAM' => '4G',
// );
Setting::get('item.USB');
// return '8G';
``
All versions of laravel-settings with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.5.0
illuminate/support Version >=5.2.0
illuminate/database Version >=5.2.0
illuminate/cache Version >=5.2.0
illuminate/support Version >=5.2.0
illuminate/database Version >=5.2.0
illuminate/cache Version >=5.2.0
The package umobi/laravel-settings contains the following files
Loading the files please wait ....