asmpkg/utility
最新稳定版本:1.0.2
Composer 安装命令:
composer require asmpkg/utility
包简介
The XML library converts XML to Array, Array to XML.
README 文档
README
Composer: composer require asmpkg/utility
Português
Manipulação de XML para PHP
A biblioteca XML faz a conversão de XML para Array, de Array para XML.
A documentacao completa sobre como utilizar a biblioteca XML: http://book.cakephp.org/3.0/en/core-libraries/xml.html
Importing Data to XML Class
$text = ' 1 <title>Best post</title> ... '; $xml = Xml::build($text);
Local file
$xml = Xml::build('/home/awesome/unicorns.xml');
$data = [
'post' => [
'id' => 1,
'title' => 'Best post',
'body' => ' ... '
]
];
$xml = Xml::build($data);
Importante: Esta class foi copiada da biblioteca Utility do framework Cakephp
English
XML handling for PHP
The XML library converts XML to Array, Array to XML.
Full documentation on how to use the XML library: http://book.cakephp.org/3.0/en/core-libraries/xml.html
Importing Data to Xml Class
$text = '
1
<title>Best post</title>
...
';
$xml = Xml::build($text);
Local file
$xml = Xml::build('/home/awesome/unicorns.xml');
$data = [
'post' => [
'id' => 1,
'title' => 'Best post',
'body' => ' ... '
]
];
$xml = Xml::build($data);
Important: This class was copied from the Utility Library Cakephp framework
统计信息
- 总下载量: 36
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-10-03