grantholle/pear-services-yadis
最新稳定版本:2.0.0
Composer 安装命令:
composer require grantholle/pear-services-yadis
包简介
A psr-4 compliant port of pear/services_yadis, an implementation of the Yadis Specification 1.0 protocol
README 文档
README
Implementation of the Yadis 1.0 protocol.
Installation
composer require grantholle/pear-services-yadis
Usage
use Pear\Services\Yadis\Yadis; $openid = 'http://padraic.astrumfutura.com'; $yadis = new Yadis($openid); $yadis->addNamespace('openid', 'http://openid.net/xmlns/1.0'); $serviceList = $yadis->discover(); foreach ($serviceList as $service) { $types = $service->getTypes(); echo $types[0], ' at ', implode(', ', $service->getUris()), PHP_EOL; echo 'Priority is ', $service->getPriority(), PHP_EOL; }
统计信息
- 总下载量: 625
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 2
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: BSD-2-Clause
- 更新时间: 2020-08-16