承接 kelvinmo/simplexrd 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2014-11-15