astralab/phpas2

PHPAS2 是基于 PHP 的 EDIINT AS2 标准的实现

2.0.1 2023-02-21 09:43 UTC

This package is auto-updated.

Last update: 2024-09-21 13:00:39 UTC


README

Latest Version on Packagist Build Status Total Downloads License

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 许可证 下发布。