gelim / emconfig
This package is abandoned and no longer maintained.
No replacement package was suggested.
An eloquent key value configuration library for laravel project
v0.0.7
2023-11-28 15:32 UTC
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