zc2tech/qing
最新稳定版本:v2.0.3
Composer 安装命令:
composer require zc2tech/qing
包简介
qing is a php-based implementation of the EDIINT AS2 standard, forked from tiamo/phpas2. The lib name 'qing' is because Maggie Cheung delivered an exceptional performance in the film Green Snake.
README 文档
README
This application enables you to transmit and receive AS2 messages with EDI-X12, EDIFACT, XML, or binary payloads between trading partners.
Requirements
- php >= 8.3
- ext-openssl
- ext-zlib
Installation
composer require zc2tech/qing
Usage
Basic example
cd example composer install chmod +x ./bin/console # start a server to receive messages in 8000 port php -S 127.0.0.1:8000 ./public/index.php # send a test message php bin/console send-message --from mycompanyAS2 --to phpas2_win # send a file php bin/console send-message --from mycompanyAS2 --to phpas2_win --file /path/to/the/file
This library is a fork of tiamo/phpas2 which did not release updates since September 2023. I updated code to adapt to recent php/library: php8, Slim 4, Symfony 7 .
AS2 is a transport protocol specified in RFC 4130. AS2 version 1.1 adding compression is specified in RFC 5402. The MDN is specified in RFC 3798. Algorithm names are defined in RFC 5751 (S/MIME 3.2) which supersedes RFC 3851 (S/MIME 3.1);
统计信息
- 总下载量: 6
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-05-09