soumen-dey/laravel-setting
Composer 安装命令:
composer require soumen-dey/laravel-setting
包简介
A lightweight and simple package for database based key-value store for Laravel 5.6 and above.
README 文档
README
A lightweight and simple package for database based key-value store for Laravel 5.6 and above.
Installation
Via Composer
$ composer require soumen-dey/laravel-setting
The migrations will be loaded automatically, just run php artisan migrate.
Publish the config file.
php artisan vendor:publish --provider="Soumen\Setting\SettingServiceProvider" --tag="config"
Usage
Use the included helper to access the settings.
setting('key', 'value'); // set the setting 'key' using the 'value' setting('key') // get the setting 'key'
Change log
Please see the changelog for more information on what has changed recently.
Contributing
Please see contributing.md for details and a todolist.
Credits
License
MIT License. Please see the license file for more information.
统计信息
- 总下载量: 16
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-05-03