定制 zc2tech/qing 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

zc2tech/qing

最新稳定版本:v2.0.3

Composer 安装命令:

composer require zc2tech/qing

包简介

qing is a php-based implementation of the EDIINT AS2 standard, forked from tiamo/phpas2. The lib name 'qing' is because Maggie Cheung delivered an exceptional performance in the film Green Snake.

README 文档

README

Latest Version on Packagist Build Status Total Downloads License

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

Requirements

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

Installation

composer require zc2tech/qing

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_win

# send a file
php bin/console send-message --from mycompanyAS2 --to phpas2_win --file /path/to/the/file 

This library is a fork of tiamo/phpas2 which did not release updates since September 2023. I updated code to adapt to recent php/library: php8, Slim 4, Symfony 7 .

AS2 is a transport protocol specified in RFC 4130. AS2 version 1.1 adding compression is specified in RFC 5402. The MDN is specified in RFC 3798. Algorithm names are defined in RFC 5751 (S/MIME 3.2) which supersedes RFC 3851 (S/MIME 3.1);

统计信息

  • 总下载量: 6
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 47
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-05-09

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固