dcarbone/xml-primitive-types
最新稳定版本:0.0.3
Composer 安装命令:
composer require dcarbone/xml-primitive-types
包简介
Library containing PHP classes for XML Primitives and Derived Primitives
README 文档
README
Library containing PHP classes for XML Primitives and Derived Primitives
This library is a work in progress.
Intent
The purpose of this library is to provide simple objects to represent XML primitive types. There are a myriad of ways it can be used.
Usage
Below is a basic example usage script:
<?php require 'path to composer autoload file'; $factory = new \DCarbone\XMLPrimitiveTypes\XMLPrimitiveTypeFactory(); $xmlInt = $factory->getPrimitiveType('int', 500); var_dump($xmlInt);
Future Enhancements
- Ability to add type objects ad-hoc
- Support for XML Facets & optional value validation
Comments
If you find this lib useful and want to help out development, or have a way to improve a component, please do so! This is a very early implementation, and features will come as I have time. Any help / comments are welcome.
统计信息
- 总下载量: 25
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2015-08-26