tggl/client
最新稳定版本:2.0.0
Composer 安装命令:
composer require tggl/client
包简介
Tggl PHP client
README 文档
README
Tggl PHP SDK
The PHP SDK can be used to evaluate flags and report usage to the Tggl API or a proxy.
???? Website • ???? Documentation • ???? Packagist • ???? Videos
Usage
Install the dependency:
composer require tggl/client
Start evaluating flags:
use Tggl\Client\TgglClient; // Some class to represent your context class Context { $userId; $email; } $client = new TgglClient('YOUR_API_KEY'); // An API call to Tggl is performed here $flags = $client->evalContext(new Context()); if ($flags->get('my-feature', 'Variation A') === 'Variation A') { // ... }
统计信息
- 总下载量: 47.83k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-01-04