PHPackages                             techdata/as2secure-bundle - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. techdata/as2secure-bundle

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

techdata/as2secure-bundle
=========================

AS2Secure (http://www.as2secure.com)\_abstraction to allow use of library in Symfony2 applications.

739911[1 issues](https://github.com/TechData/As2Secure-Bundle/issues)[1 PRs](https://github.com/TechData/As2Secure-Bundle/pulls)PHP

Since Mar 18Pushed 7y ago3 watchersCompare

[ Source](https://github.com/TechData/As2Secure-Bundle)[ Packagist](https://packagist.org/packages/techdata/as2secure-bundle)[ RSS](/packages/techdata-as2secure-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

AS2 Symfony Bundle
------------------

[](#as2-symfony-bundle)

### Prior Art

[](#prior-art)

The contents of this library are largely based on the work done by Sebastien Malot on the AS2Secure library. The original can be found at [http://www.as2secure.com/](http://www.as2secure.com/ "www.as2secure.com"). In accordance with the license associated to that library, we continue to follow the LGPL license.

The current library is a heavily refactored and extended version of that original library.

### Enhancments

[](#enhancments)

There have been several enhancements made to the library as part of the refactoring. The most obvious is the use of event dispatching and dependency injection throughout the library.

### Events

[](#events)

There are 4 events which are raised against the global event dispatcher in Symfony. They are outlined in `TechData\AS2SecureBundle\Interfaces\Events`. They expose the event objects found in `TechData\AS2SecureBundle\Events`.

- `tech_data_as2_secure.event.log`
- `tech_data_as2_secure.event.error`
- `tech_data_as2_secure.event.message_received`
- `tech_data_as2_secure.event.message_sent`

### Sending Messages

[](#sending-messages)

To send a message you leverage the `tech_data_as2_secure.handler.as2` service, which implements `TechData\AS2SecureBundle\Interfaces\MessageSender` to call `sendMessage`. An event is fired when the message is successfully sent. If no exception is thrown, the message was successfully sent.

### Receiving Messages

[](#receiving-messages)

There is an endpoint which is enabled an located at `/edi/as2/in` by default. This can be overridden to put the route wherever you want.

### Partner Provider Service

[](#partner-provider-service)

In order to get the partner info, and keep the system as data-store agnostic as possible, it is up to the implementer to create the Partner Provider Service. This service must implement the `TechData\AS2SecureBundle\Interfaces\PartnerProvider` interface and must be a public service (it is by default).

The ID of this service must be provided as a parameter. (See below).

### Required Parameters

[](#required-parameters)

There are two required parameters which must be filled out.

- `tech_data_as2_secure.factory.adapter.bin_location` - This is the real folder location where the `AS2Secure.jar` can be found.
- `tech_data_as2_secure.partner_provider.service_id` - This is the service ID of the partner provider service which must be supplied by the implementer, and must implement the `TechData\AS2SecureBundle\Interfaces\PartnerProvider` interface.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/dbe313eb9b1757cef60d1044789219d793f9f0cda2fea991f96905eb7b099f70?d=identicon)[westinpigott](/maintainers/westinpigott)

### Embed Badge

![Health badge](/badges/techdata-as2secure-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/techdata-as2secure-bundle/health.svg)](https://phpackages.com/packages/techdata-as2secure-bundle)
```

###  Alternatives

[patrickschur/language-detection

A language detection library for PHP. Detects the language from a given text string.

8513.2M18](/packages/patrickschur-language-detection)[platformsh/config-reader

Small helper to access Platform.sh environment variables

235.1M22](/packages/platformsh-config-reader)[mgcodeur/laravel-currency-converter

Laravel Currency Converter: Effortlessly convert currencies in your Laravel applications, no API key required. It's fast, easy, and completely free.

5335.5k](/packages/mgcodeur-laravel-currency-converter)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
