robiussani152/settings
最新稳定版本:v1.0.2
Composer 安装命令:
composer require robiussani152/settings
包简介
This package is for managing most basic settings in your laravel application like site title, site logo etc. You can add your custom settings using this package.
README 文档
README
This package is for managing most basic settings in your laravel application like site title, site logo etc. You can add your custom settings using this package.
Getting Started
1. Install
Run the following command:
composer require robiussani152/settings
2. Register (for Laravel < 5.5)
Register the service provider in config/app.php
Robiussani152\Settings\SettingServiceProvider::class,
Add alias if you want to use the facade.
'Settings' => Robiussani152\Settings\Facades\Settings::class,
Usage
You can use the facade Setting::get('foo')
Facade
Settings::get('foo'); Settings::set('foo', 'bar'); Settings::forget('foo'); $settings = Settings::all();
License
The MIT License (MIT). Please see LICENSE for more information.
统计信息
- 总下载量: 819
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-10-19