The PHPAS2 application enables you to transmit and receive AS2 messages with EDI-X12, EDIFACT, XML, or binary payloads between trading partners.
- php >= 5.5
- ext-openssl
- ext-zlib
composer require tiamo/phpas2
Basic example
# start a server to receive messages in 8000 port
php -S 127.0.0.1:8000 ./examples/server.php
# init partners and storage
php -f ./examples/init.php
# send message
php -f ./examples/outbound.php
Licensed under the MIT license.