church/apollo-client
最新稳定版本:1.1
Composer 安装命令:
composer require church/apollo-client
包简介
apollo client for php
README 文档
README
环境要求
- php >= 7.4
安装
composer require church/apollo-client
使用
$client = new Client('http://127.0.0.1:8082', 'appid', 'tech.oss', 'app secret'); $result = $client->getFromCache(); $result = $client->getWithoutCache(); //必须在CLI模式下运行 $client->autoPull(['tech.oss', 'tech.baidu', 'tech.sms'], function($configuration) { $configuration = json_decode($configuration, true); $this->assertTrue(boolval($configuration)); });
统计信息
- 总下载量: 136
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-09-20