a2way/laravel-app-settings
最新稳定版本:1.1.0
Composer 安装命令:
composer require a2way/laravel-app-settings
包简介
Save data in a table called "app_settings" and retrieve them.
README 文档
README
#A2Way Laravel App Settings ##Installing
- Require the package.
composer require a2way/laravel-app-settings
- Add the service provider the
providersarray in yourconfig/app.phpfile.
'A2Way\LaravelAppSettings\LaravelAppSettingsServiceProvider',
- Publish the migration file.
php artisan vendor:publish --provider="A2Way\LaravelAppSettings\LaravelAppSettingsServiceProvider"
- Run the migration.
php artisan migrate
- Use.
php artisan tinker
>>>A2Way\LaravelAppSettings\AppSettings::set('hello', 'world');
=>true
>>> A2Way\LaravelAppSettings\AppSettings::get('hello');
=> "world"
统计信息
- 总下载量: 208
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2015-05-07