PHPackages                             imanaging-document/api-communication-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. [API Development](/categories/api)
4. /
5. imanaging-document/api-communication-bundle

ActiveSymfony-bundle[API Development](/categories/api)

imanaging-document/api-communication-bundle
===========================================

Service de communication, par API, entre diverses applications

v2.0(4y ago)210.4k↓33.3%2MITPHPPHP ^7.1.3

Since Jul 31Pushed 5mo ago2 watchersCompare

[ Source](https://github.com/imanaging-document/api-communication-bundle)[ Packagist](https://packagist.org/packages/imanaging-document/api-communication-bundle)[ RSS](/packages/imanaging-document-api-communication-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (7)Versions (5)Used By (2)

ApiCommunicationBundle
======================

[](#apicommunicationbundle)

This bundle allows different imanaging-document applications to communicate with each other.

This bundle can't be used outside an imanaging-document application.

Install the bundle with:

```
$ composer require imanaging-document/api-communication-bundle
```

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

[](#configuration)

You have to create a `config/packages/imanaging_api_communication.yaml` file:

```
imanaging_api_communication:
    project_dir: '%kernel.project_dir%'
    zeus_api_url: ~
    zeus_api_login: ~
    zeus_api_password: ~
    zeus_mock_dir: ~
    client_traitement: ~
    core_api_url: ~
    core_api_token: ~
    core_mock_dir: ~
```

Usage in services
-----------------

[](#usage-in-services)

Add a new argument to your service in your `config/services.yaml` file:

```
login:
    class: App\Service\MyBeautifulService
    arguments: [..., '@api_zeus_communication', ...]
```

Get the ApiZeusCommunication in your this way :

```
class MyBeautifulService
{
  private ...
  private $apiZeusCommunication;
  private ...

  /**
   * ...
   * @param ApiZeusCommunication $apiZeusCommunication
   * ...
   */
  public function __construct(..., ApiZeusCommunication $apiZeusCommunication, ...){
    ...
    $this->apiZeusCommunication = $apiZeusCommunication;
    ...
  }
  ...
}
```

Examples
--------

[](#examples)

GET example :

```
$url = '/my-beautiful-get-url';
$response = $this->apiZeusCommunication->sendGetRequest($url);

if ($response->getHttpCode() === 200) {
  // SOME LOGIC
}
```

POST example :

```
$postData = array(
  '...' => '...',
  'my_post_key' => $myPostValue,
  '...' => '...',
);

$url = '/my-beautiful-post-url';
$response = $this->apiZeusCommunicationService->sendPostRequest($url, $postData);

if ($response->getHttpCode() === 201) {
  // SOME LOGIC
}
```

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance49

Moderate activity, may be stable

Popularity26

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 65% 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 ~209 days

Total

3

Last Release

1699d ago

Major Versions

v1.1 → v2.02021-09-23

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/48522350?v=4)[Imanaging Document](/maintainers/imanaging-document)[@imanaging-document](https://github.com/imanaging-document)

---

Top Contributors

[![FqKeR3m1](https://avatars.githubusercontent.com/u/15010244?v=4)](https://github.com/FqKeR3m1 "FqKeR3m1 (26 commits)")[![n1n1du44](https://avatars.githubusercontent.com/u/3704587?v=4)](https://github.com/n1n1du44 "n1n1du44 (14 commits)")

### Embed Badge

![Health badge](/badges/imanaging-document-api-communication-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/imanaging-document-api-communication-bundle/health.svg)](https://phpackages.com/packages/imanaging-document-api-communication-bundle)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)

PHPackages © 2026

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