Skip to content

astralab-hq/phpas2

 
 

Repository files navigation

PHPAS2 is a php-based implementation of the EDIINT AS2 standard

Latest Version on Packagist Build Status Total Downloads License

The PHPAS2 application enables you to transmit and receive AS2 messages with EDI-X12, EDIFACT, XML, or binary payloads between trading partners.

This is a fork of tiamo/phpas2

Requirements

  • php >= 7.1
  • ext-openssl
  • ext-zlib

Installation

composer require astralab/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.

About

PHPAS2 is a php-based implementation of the EDIINT AS2 standard.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%