tiimepdp/cdar
Composer 安装命令:
composer require tiimepdp/cdar
包简介
CDAR PHP - Cross Domain Acknowledgement and Response Library
README 文档
README
PHP library for the UN/EDIFACT D23B Cross Domain Acknowledgement and Response message.
Description
This library provides comprehensive PHP models for handling Cross Domain Acknowledgement and Response messages according to the UN/EDIFACT D23B standard (December 2023).
Compliance
Models are generated from official UN/CEFACT XSD schemas:
- Version: 100.D23B
- Standard: UN/EDIFACT
- Message: Cross Domain Acknowledgement and Response
- Source: https://unece.org/trade/documents/2024/08/standards/cross-domain-acknowledgement-and-response-d23b
Requirements
- PHP 8.3 or higher
Installation
You can install the library via Composer:
composer require tiimepdp/cdar
Usage
// Building CDAR message $cdar = new \TiimePDP\CrossDomainAcknowledgementAndResponse\CrossDomainAcknowledgementAndResponse( // ... initialize with data ); // Serializing CDAR message to XML $serializer = new \TiimePDP\CrossDomainAcknowledgementAndResponse\Serializer\Serializer(); $xmlContent = $serializer->serialize($cdar); echo $xmlContent;
Contributing
We welcome contributions! Here's how you can help:
- Fork the repository
- Create a feature branch (
git checkout -b feature/your-feature) - Make your changes and ensure they pass all quality checks:
- Run PHPStan:
vendor/bin/phpstan analyse - Run PHP-CS-Fixer:
vendor/bin/php-cs-fixer fix - Run tests:
vendor/bin/phpunit
- Run PHPStan:
- Commit your changes with clear messages
- Push to your branch
- Open a Pull Request with a description of your changes
Important Notes
- All code contributions must maintain 100% PHPStan compliance at maximum level
- Follow the existing code style (enforced by PHP-CS-Fixer)
- Keep comments and documentation in English
- Any modifications to this code must be distributed under the GPL-3.0-or-later license
License
GPL-3.0-or-later
This project is licensed under the GNU General Public License v3.0 or later. Any modifications to this software must be distributed under the same GPL-3.0-or-later license.
tiimepdp/cdar 适用场景与选型建议
tiimepdp/cdar 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 14.76k 次下载、GitHub Stars 达 0, 最近一次更新时间为 2026 年 02 月 03 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 tiimepdp/cdar 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 tiimepdp/cdar 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 14.76k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2026-02-03