gelim / emconfig
An eloquent key value configuration library for laravel project
Installs: 53
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/gelim/emconfig
README
An eloquent key value configuration for laravel projects
installation
$ composer require gelim/emconfig
$ php artisan vendor:publish --tag=emconfig
$ php artisan migrate
how to use
comming son
commands
EMConfig has three main artisan command
- init
$ php artisan emconfig:init
this command remove all data in emconfig table and insert new row from ConfigSet.php file
- review
$ php aritsan emconfig:review
check ConfigSet.php file and create not exists config
- resetValue (or reset value)
$ php artisan resetvalue {scope}
reset all config in specific scope to default Value (value in configSet.php file)
scope argument is optional, when scope not set "default" scope reset to default value
$ php artisan resetvalue -a
reset all scope config row to default value