kxbrand / tools
kxbrand tools for php
v1.0.0
2021-07-02 06:27 UTC
Requires
- php: >=7.1.0
This package is not auto-updated.
Last update: 2025-03-22 22:18:51 UTC
README
凯旋工具包
Composer 安装
composer require kxbrand/tools
Kxtools 使用
use kxbrand\tools\Tools as Tools;
$kxtools = new Tools();
$data = ['name'=>'kxbrand','email'=>'kxbrand@qq.com'];
$arr2xml = $kxtools->arr2xml($data);
//<xml>
// <name><![CDATA[kxbrand]]></name>
// <email><![CDATA[kxbrand@qq.com]]></email>
//</xml>