tiamo / phpas2
PHPAS2 is a php-based implementation of the EDIINT AS2 standard
Installs: 46 853
Dependents: 0
Suggesters: 0
Security: 0
Stars: 44
Watchers: 10
Forks: 44
Open Issues: 7
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
The PHPAS2 application enables you to transmit and receive AS2 messages with EDI-X12, EDIFACT, XML, or binary payloads between trading partners.
Requirements
- php >= 7.1
- ext-openssl
- ext-zlib
Installation
composer require tiamo/phpas2
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 # send a file php bin/console send-message --from mycompanyAS2 --to phpas2 --file /path/to/the/file
Changelog
Please have a look in CHANGELOG
License
Licensed under the MIT license.