satheez/laravel-settings
最新稳定版本:v1.0
Composer 安装命令:
composer require satheez/laravel-settings
包简介
This is my package laravel-settings
README 文档
README
Laravel Settings
This package is used get & set data by using dedicated database table
Installation
You can install the package via composer:
composer require satheez/laravel-settings
You can publish and run the migrations with:
php artisan vendor:publish --provider="Satheez\LaravelSettings\LaravelSettingsServiceProvider"
php artisan migrate
Usage
Set settings data
// Method 1 settings(['foo' => 'bar']); // Method 2 settings_set('foo', 'bar');
Get settings data
// Method 1 settings('foo'); // output: bar // Method 2 settings_get('foo'); // output: bar
Testing
composer test
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 9
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-07-21