tiamo / phpas2
PHPAS2是EDIINT AS2标准的基于PHP的实现
2.0.1
2023-09-09 16:28 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: ^1.1
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.1
- phpunit/phpunit: ^9.6.11
- symfony/var-dumper: ^4.0
README
PHPAS2应用程序使您能够在交易伙伴之间通过EDI-X12、EDIFACT、XML或二进制负载发送和接收AS2消息。
要求
- php >= 7.1
- ext-openssl
- ext-zlib
安装
composer require tiamo/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
变更日志
请查看变更日志
许可证
在MIT许可证下发布。