lambdatt-php/settings
最新稳定版本:v0.1.7
Composer 安装命令:
composer require lambdatt-php/settings
包简介
A SplitPHP Framework plugin for create a general purpose settings control
README 文档
README
A SplitPHP Framework plugin for create a general purpose settings control.
Installation
Install via Composer:
composer require lambdatt-php/settings
Run the Migrations:
php console migrations:apply --module=settings
PS: this can only be installed on a SplitPHP Framework project. For more information refer to: https://github.com/splitphp/core
Usage:
- Set a variable and its value:
$this->getService('settings/settings')->change($context, $fieldname, $value);
- Retrieve a variable and its value:
$this->getService('settings/settings')->get($context, $fieldname);
- Retrieve an object of a context containing all its variables and values:
$this->getService('settings/settings')->contextObject($context);
统计信息
- 总下载量: 15
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-06-19