moh6mmad/laravel-settings
最新稳定版本:v1.1.7
Composer 安装命令:
composer require moh6mmad/laravel-settings
包简介
This package allows you to add settings to your Laravel project
README 文档
README
This package allows you to store some global settings into your app database and load them once you need them in entire app globally.
Installation
Install my-project with npm
composer require moh6mmad/laravel-settings
Documentation
You may call set and get functions in several ways. Settings are stored in database as following:
settings_group and name and value
You need to call both settings_group and name to access to the value
Usage
Call it via config
config('settings.ui.template.header_title')
Call it via its helper
setting('ui.template.header_title')
or set a new value for this Call it via its helper
setting('ui.template.header_title', 'Laravel Setting App')
Feedback
If you have any feedback, please reach out to us at mamm6d@gmail.com
License
统计信息
- 总下载量: 3.62k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-02-24