kelvinmo/simplexrd
最新稳定版本:v3.2.1
Composer 安装命令:
composer require kelvinmo/simplexrd
包简介
An extraordinarily simple XRD parser written in PHP.
README 文档
README
SimpleXRD is an extraordinarily simple parser for XRD documents written in PHP 5.
This XRD parser supports all the features of XRD which can be translated into its JSON representation under RFC 6415. This means that the parser does not support extensibility under the XRD specification.
Usage
Using the parser is straightforward. Assuming the XRD code has been loaded
into a variable called $xml. Then the code is simply
$parser = new SimpleXRD(); $parser->load($xml); $jrd = $parser->parse(); $parser->free();
The JSON representation can then be obtained by using json_encode($jrd).
Licensing
Licensing information for SimpleXRD can be found in the file COPYING.txt.
统计信息
- 总下载量: 4.3k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2014-11-15