yocto/yoclib-epp
Composer 安装命令:
composer require yocto/yoclib-epp
包简介
This yocLibrary enables your project to send and receive with EPP (Extensible Provisioning Protocol) in PHP.
README 文档
README
This yocLibrary enables your project to send and receive with EPP (Extensible Provisioning Protocol) in PHP.
Status
Installation
composer require yocto/yoclib-epp
Usage
Reading
use YOCLIB\EPP\EPPDocumentHelper; use YOCLIB\EPP\Connections\EPPTCPConnection; use YOCLIB\EPP\Elements\EPPEppElement; $conn = new EPPTCPConnection(new SIDNTest); $doc = $conn->readDocument(); /**@var EPPEppElement $epp*/ $epp = $doc->documentElement; $hello = $epp->getHello();
Writing
use YOCLIB\EPP\EPPDocumentHelper; use YOCLIB\EPP\EPPNamespaces; use YOCLIB\EPP\Connections\EPPTCPConnection; use YOCLIB\EPP\Registries\SIDNTest; $doc = EPPDocumentHelper::createEPPDocument(); $epp = $doc->createElementNS(EPPNamespaces::EPP_1_0,'epp'); $hello = $doc->createElementNS(EPPNamespaces::EPP_1_0,'hello'); $epp->appendChild($hello); $doc->appendChild($epp); $conn = new EPPTCPConnection(new SIDNTest); $xml = $conn->writeDocument($doc);
统计信息
- 总下载量: 258
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2024-08-08