Download the PHP package as2aas/php-client without Composer

On this page you can find all versions of the php package as2aas/php-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package 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 Build Status Total Downloads

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:

Installation

Install the package via Composer:

Laravel Installation

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

Add your API key to your .env file:

Quick Start

Laravel Quick Start

Features

Configuration

Environment Variables

Configure your API key using environment variables:

Advanced Configuration

Global Configuration

Core Usage Examples

Partner Management

Message Operations

Certificate Management

Webhook Event Handling

Enterprise Features and Tenant Management

Tenant Context Rules

Master Partner Inheritance Flow

The complete 7-step inheritance process:

  1. Create Master Partner: Account-level partner creation
  2. List Master Partners: View all master partners with inheritance stats
  3. Check Inheritance Status: See which tenants inherit which partners
  4. Inherit to Tenants: Bulk or individual inheritance with custom settings
  5. View Tenant Partners: Combined view of inherited + tenant-specific partners
  6. Remove Inheritance: Selective removal from specific tenants
  7. Update Master Partner: Changes automatically propagate to inherited partners

Benefits:

Testing

Unit Testing with Mock Client

For unit testing your application without making actual API calls, use the built-in mock client:

Integration Testing with Test Environment

For integration testing against the AS2aaS test environment:

Laravel Testing

Utility Functions

Laravel Integration

Installation

The service provider is automatically registered. Publish the configuration:

Configuration

Add to your .env file:

Usage in Laravel

Webhook Handling in Laravel

Error Handling

The client provides comprehensive error handling with specific exception types:

Multi-Tenant Architecture

AS2aaS supports enterprise multi-tenant architectures where you can manage multiple business entities or customers within a single account:

Account and Tenant Management

Master Partner Inheritance

Create master partners at the account level and inherit them to specific tenants:

Industry-Specific Integration

Healthcare and Pharmaceutical (DSCSA)

The client is designed to support Drug Supply Chain Security Act (DSCSA) compliance requirements:

Testing

Run the test suite:

Run with coverage:

Run static analysis:

Check code style:

API Reference

Client Initialization

Core Modules

Requirements

Contributing

Please see CONTRIBUTING for details on our code of conduct and the process for submitting pull requests.

Security

If you discover any security-related issues, please email [email protected] instead of using the issue tracker.

License

The MIT License (MIT). Please see License File for more information.

Support

About AS2aaS

AS2aaS is a cloud-based AS2 messaging service that eliminates the complexity of implementing and maintaining AS2 infrastructure. Our platform handles the technical requirements of AS2 protocol compliance while providing a simple, developer-friendly API for integration.

Perfect for businesses requiring secure B2B document exchange, including healthcare organizations needing DSCSA compliance, retail companies managing EDI transactions, and any enterprise requiring AS2 protocol support.


All versions of php-client with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
guzzlehttp/guzzle Version ^7.0
ext-json Version *
ext-openssl Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package as2aas/php-client contains the following files

Loading the files please wait ...