{"id":26129221,"url":"https://github.com/dgac/nmb2b-phpclient","last_synced_at":"2026-04-17T16:31:22.754Z","repository":{"id":56967354,"uuid":"129583654","full_name":"DGAC/nmb2b-phpclient","owner":"DGAC","description":"PHP Client for NM B2B Services","archived":false,"fork":false,"pushed_at":"2023-08-29T09:19:16.000Z","size":116,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-02-26T01:36:37.233Z","etag":null,"topics":["atc","b2b","eurocontrol","web-services"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DGAC.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-04-15T06:32:29.000Z","updated_at":"2021-11-23T08:57:36.000Z","dependencies_parsed_at":"2023-01-28T10:15:28.047Z","dependency_job_id":null,"html_url":"https://github.com/DGAC/nmb2b-phpclient","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DGAC%2Fnmb2b-phpclient","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DGAC%2Fnmb2b-phpclient/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DGAC%2Fnmb2b-phpclient/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DGAC%2Fnmb2b-phpclient/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DGAC","download_url":"https://codeload.github.com/DGAC/nmb2b-phpclient/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242914556,"owners_count":20206037,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["atc","b2b","eurocontrol","web-services"],"created_at":"2025-03-10T19:40:02.446Z","updated_at":"2026-04-17T16:31:22.718Z","avatar_url":"https://github.com/DGAC.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PHP Client for NM B2B Services #\n\n[![pipeline status](https://gitlab.asap.dsna.fr/asap/nmb2b-phpclient/badges/master/pipeline.svg)](https://gitlab.asap.dsna.fr/asap/nmb2b-phpclient/commits/master) [![coverage report](https://gitlab.asap.dsna.fr/asap/nmb2b-phpclient/badges/master/coverage.svg)](https://gitlab.asap.dsna.fr/asap/nmb2b-phpclient/commits/master)\n\n## NM B2B Web Services\n\nhttp://www.eurocontrol.int/service/network-manager-business-business-b2b-web-services\n\nSupported versions : 25.0 - 26.0 - 27.0\n\n## Requirements\n\n* PHP \u003e= 8.0\n\n## Installation\n\n### Composer\n\nTo install run `composer require dgac/nmb2b-phpclient`\n\n## Configuration\n\n```php\nuse DSNA\\NMB2BDriver\\NMB2BClient;\n\n//only add path to services you intend to use\n$client = new NMB2BClient(\n    \"path to certificate\", \n    \"passphrase\", \n    array(\n        \"airspaceservices\" =\u003e \"path to airspace services wsdl file\",\n        \"flowservices\" =\u003e \"path to flow services wsdl file\"\n    )\n);\n\n//with a proxy :\n$options = [\n   'proxy_host' =\u003e '192.x.x.x',\n   'proxy_port' =\u003e '8080'\n];\n\n$client = new NMB2BClient(\n    \"path to certificate\", \n    \"passphrase\", \n    array(\n        \"airspaceservices\" =\u003e \"path to airspace services wsdl file\",\n        \"flowservices\" =\u003e \"path to flow services wsdl file\"\n    ),\n    $options\n);\n\n```\n\n## Usage\n\n### Example 1\n\nRetrieve EAUP Chain from Airspace Services\n\n```php\n$eaupchain = $client-\u003eairspaceServices()-\u003eretrieveEAUPChain(new \\DateTime('now'));\n\n//Get last AUP sequence number published before 0600 UTC\n$seq = $eaupchain-\u003egetAUPSequenceNumber()\n```\n\n### Example 2\n\nRetrieve regulations for a specified TV\n\n```php\n\n$start = new \\DateTime('2018-04-18 00:00:00');\n$end = new \\DateTime('2018-04-18 23:59:59');\n\n$result = $client-\u003eflowServices()-\u003equeryRegulations($start, $end, 'LF*');\n\nforeach($result-\u003egetRegulations() as $regulation) {\n    $name = $regulation-\u003egetRegulationName();\n}\n\n```\n\n### Example 3\n\nGet current version of NM services.\n\n```php\n$client-\u003eairspaceServices()-\u003egetNMVersion(); //returns \"21.5.0\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdgac%2Fnmb2b-phpclient","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdgac%2Fnmb2b-phpclient","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdgac%2Fnmb2b-phpclient/lists"}