PHPackages                             dgac/nmb2b-phpclient - 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. dgac/nmb2b-phpclient

ActiveLibrary

dgac/nmb2b-phpclient
====================

PHP Client for NM B2B Web services

v0.5.1(2y ago)23.4k[1 issues](https://github.com/DGAC/nmb2b-phpclient/issues)[1 PRs](https://github.com/DGAC/nmb2b-phpclient/pulls)GPL-3.0-or-laterPHPPHP ^8.0CI passing

Since May 23Pushed 3mo ago3 watchersCompare

[ Source](https://github.com/DGAC/nmb2b-phpclient)[ Packagist](https://packagist.org/packages/dgac/nmb2b-phpclient)[ RSS](/packages/dgac-nmb2b-phpclient/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (10)Dependencies (1)Versions (18)Used By (0)

PHP Client for NM B2B Services
==============================

[](#php-client-for-nm-b2b-services)

[![pipeline status](https://camo.githubusercontent.com/c67d92b0263ecbac977f3c38ee1e54031bfcb7dcf716ba42198bc33b7e28823b/68747470733a2f2f6769746c61622e617361702e64736e612e66722f617361702f6e6d6232622d706870636c69656e742f6261646765732f6d61737465722f706970656c696e652e737667)](https://gitlab.asap.dsna.fr/asap/nmb2b-phpclient/commits/master) [![coverage report](https://camo.githubusercontent.com/f1dfff26d56cdcdedcb587842ec17c5338d69eb3761072e23c1c5a64fed873c5/68747470733a2f2f6769746c61622e617361702e64736e612e66722f617361702f6e6d6232622d706870636c69656e742f6261646765732f6d61737465722f636f7665726167652e737667)](https://gitlab.asap.dsna.fr/asap/nmb2b-phpclient/commits/master)

NM B2B Web Services
-------------------

[](#nm-b2b-web-services)

Supported versions : 25.0 - 26.0 - 27.0

Requirements
------------

[](#requirements)

- PHP &gt;= 8.0

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

[](#installation)

### Composer

[](#composer)

To install run `composer require dgac/nmb2b-phpclient`

Configuration
-------------

[](#configuration)

```
use DSNA\NMB2BDriver\NMB2BClient;

//only add path to services you intend to use
$client = new NMB2BClient(
    "path to certificate",
    "passphrase",
    array(
        "airspaceservices" => "path to airspace services wsdl file",
        "flowservices" => "path to flow services wsdl file"
    )
);

//with a proxy :
$options = [
   'proxy_host' => '192.x.x.x',
   'proxy_port' => '8080'
];

$client = new NMB2BClient(
    "path to certificate",
    "passphrase",
    array(
        "airspaceservices" => "path to airspace services wsdl file",
        "flowservices" => "path to flow services wsdl file"
    ),
    $options
);
```

Usage
-----

[](#usage)

### Example 1

[](#example-1)

Retrieve EAUP Chain from Airspace Services

```
$eaupchain = $client->airspaceServices()->retrieveEAUPChain(new \DateTime('now'));

//Get last AUP sequence number published before 0600 UTC
$seq = $eaupchain->getAUPSequenceNumber()
```

### Example 2

[](#example-2)

Retrieve regulations for a specified TV

```
$start = new \DateTime('2018-04-18 00:00:00');
$end = new \DateTime('2018-04-18 23:59:59');

$result = $client->flowServices()->queryRegulations($start, $end, 'LF*');

foreach($result->getRegulations() as $regulation) {
    $name = $regulation->getRegulationName();
}
```

### Example 3

[](#example-3)

Get current version of NM services.

```
$client->airspaceServices()->getNMVersion(); //returns "21.5.0"
```

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance44

Moderate activity, may be stable

Popularity19

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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.

###  Release Activity

Cadence

Every ~128 days

Recently: every ~65 days

Total

16

Last Release

989d ago

PHP version history (4 changes)v0.1.0PHP ^7.1

v0.2.3PHP ^7.2

v0.3.2PHP ^7.2 || ^8.0

v0.5.0PHP ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/29868b2d8bf7c586c3c710d2090e9338d6aa40a0af83b5f4a9e56cd6b5ca2ff9?d=identicon)[BrunoSpy](/maintainers/BrunoSpy)

---

Top Contributors

[![BrunoSpy](https://avatars.githubusercontent.com/u/954222?v=4)](https://github.com/BrunoSpy "BrunoSpy (118 commits)")

---

Tags

atcb2beurocontrolweb-services

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/dgac-nmb2b-phpclient/health.svg)

```
[![Health](https://phpackages.com/badges/dgac-nmb2b-phpclient/health.svg)](https://phpackages.com/packages/dgac-nmb2b-phpclient)
```

PHPackages © 2026

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