PHPackages                             as2aas/php-client - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. as2aas/php-client

ActiveLibrary

as2aas/php-client
=================

PHP client library for AS2aaS - Making AS2 messaging as simple as sending an email

1.1.0(7mo ago)033MITPHPPHP ^8.0

Since Sep 27Pushed 7mo agoCompare

[ Source](https://github.com/AS2aaS/php-client)[ Packagist](https://packagist.org/packages/as2aas/php-client)[ Docs](https://github.com/as2aas/php-client)[ RSS](/packages/as2aas-php-client/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (6)Versions (3)Used By (0)

AS2aaS PHP Client
=================

[](#as2aas-php-client)

A comprehensive PHP client library for AS2aaS (AS2 as a Service), designed to simplify AS2 messaging integration for business applications. This library abstracts the complexity of AS2 protocol implementation, enabling developers to integrate secure B2B messaging with just a few lines of code.

[![Latest Version](https://camo.githubusercontent.com/a54992b779102d20ae340260543db4a7f6118feb1aabe8f338ad96b952dcaa82/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6173326161732f7068702d636c69656e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/as2aas/php-client)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/d6c51a6a6679d1b41d040656d78d66b33131964c9badb7275a307287a2f1db82/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6173326161732f7068702d636c69656e742f43493f7374796c653d666c61742d737175617265)](https://github.com/as2aas/php-client/actions)[![Total Downloads](https://camo.githubusercontent.com/07fdd90a87226f8a352f350a8ddee4d4163f6eb65a8d154713e1569a8232cac7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6173326161732f7068702d636c69656e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/as2aas/php-client)

Overview
--------

[](#overview)

AS2aaS provides a cloud-based AS2 messaging service that handles the complex technical requirements of AS2 protocol implementation. This PHP client library offers a clean, intuitive API for integrating AS2 messaging capabilities into your business applications.

**Key Use Cases:**

- Healthcare and pharmaceutical supply chain (DSCSA compliance)
- Retail and manufacturing EDI transactions
- Financial services secure document exchange
- Any B2B integration requiring AS2 protocol compliance

Installation
------------

[](#installation)

Install the package via Composer:

```
composer require as2aas/php-client
```

### Laravel Installation

[](#laravel-installation)

For Laravel applications, the service provider is automatically registered via package discovery. Publish the configuration file:

```
php artisan vendor:publish --tag=as2aas-config
```

Add your API key to your `.env` file:

```
AS2AAS_API_KEY=pk_live_your_api_key
AS2AAS_TIMEOUT=30000
AS2AAS_RETRIES=3
```

Quick Start
-----------

[](#quick-start)

```
