astralab / phpas2
PHPAS2 是基于 PHP 的 EDIINT AS2 标准的实现
2.0.1
2023-02-21 09:43 UTC
Requires
- php: ^7.1 || ^7.2 || ^7.3 || ^7.4 || ^8.0 || ^8.1
- ext-ctype: *
- ext-openssl: *
- ext-zlib: *
- guzzlehttp/guzzle: ^6.5 || ^7.0
- phpseclib/phpseclib: ^3.0.8
- psr/log: ^3.0.0
Requires (Dev)
- phpunit/phpunit: ^7.5
- symfony/var-dumper: ^4.0
This package is auto-updated.
Last update: 2024-09-21 13:00:39 UTC
README
PHPAS2 应用程序使您能够通过 EDI-X12、EDIFACT、XML 或二进制有效负载在贸易伙伴之间发送和接收 AS2 消息。
这是 tiamo/phpas2 的分支
需求
- php >= 7.1
- ext-openssl
- ext-zlib
安装
composer require astralab/phpas2
用法
基本示例
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 # send a file php bin/console send-message --from mycompanyAS2 --to phpas2 --file /path/to/the/file
变更日志
请查看 CHANGELOG
许可证
在 MIT 许可证 下发布。