PHPackages                             drinks-it/esb-client - 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. drinks-it/esb-client

ActiveLibrary

drinks-it/esb-client
====================

ESB client.

2.33(5d ago)05.2kMITPHPPHP ^7.1 || ^8.0CI failing

Since Mar 20Pushed 5d ago2 watchersCompare

[ Source](https://github.com/drinks-it/esb-client)[ Packagist](https://packagist.org/packages/drinks-it/esb-client)[ RSS](/packages/drinks-it-esb-client/feed)WikiDiscussions master Synced today

READMEChangelog (10)Dependencies (2)Versions (97)Used By (0)

ESB Client
==========

[](#esb-client)

A PHP client library for interacting with an ESB (Enterprise Service Bus) API. This library provides a set of request classes and a configurable API client for seamless integration with various ESB endpoints.

Features
--------

[](#features)

- Simple API client for ESB integration
- Request classes for different ESB operations (orders, products, reports, etc.)
- Factory pattern for client instantiation
- Guzzle HTTP client support

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

[](#requirements)

- PHP 7.4 or higher
- Composer

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

[](#installation)

Install via Composer:

```
composer require your-vendor/esb-client
```

Usage
-----

[](#usage)

### Basic Example

[](#basic-example)

```
use EsbClient\ApiClient;
use EsbClient\ApiConfig;
use EsbClient\Request\OrderRequest;

$config = new ApiConfig([
    'base_uri' => 'https://api.example.com',
    'api_key' => 'your-api-key',
]);

$client = new ApiClient($config);

$request = new OrderRequest(/* ...parameters... */);
$response = $client->send($request);

// Handle $response
```

### Using the Factory

[](#using-the-factory)

```
use EsbClient\Factory\EsbClientFactory;

$client = EsbClientFactory::create([
    'base_uri' => 'https://api.example.com',
    'api_key' => 'your-api-key',
]);
```

Project Structure
-----------------

[](#project-structure)

- `src/ApiClient.php` - Main API client class
- `src/ApiConfig.php` - API configuration
- `src/Factory/` - Factories for client and HTTP client
- `src/Request/` - Request classes for various ESB operations

Extending
---------

[](#extending)

You can add new request types by creating new classes in the `src/Request/` directory, following the existing request class structure.

Contributing
------------

[](#contributing)

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License
-------

[](#license)

[MIT](LICENSE)

###  Health Score

55

—

FairBetter than 98% of packages

Maintenance99

Actively maintained with recent releases

Popularity21

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity77

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 ~24 days

Recently: every ~52 days

Total

93

Last Release

5d ago

Major Versions

1.9.26 → 2.7.72023-05-31

1.9.27 → 2.7.82023-06-29

1.9.28 → 2.7.102023-09-05

1.9.31 → 2.7.112023-10-13

1.9.34 → 2.7.122024-02-06

PHP version history (2 changes)1.0.0PHP &gt;=7.1

2.0.0PHP ^7.1 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/35364f9bf8e8af76953238d28f15a7d4d027746288de830e1fa5db551cdeedd6?d=identicon)[maximgubar](/maintainers/maximgubar)

---

Top Contributors

[![maximgubar](https://avatars.githubusercontent.com/u/2241775?v=4)](https://github.com/maximgubar "maximgubar (2 commits)")

---

Tags

clientesb

### Embed Badge

![Health badge](/badges/drinks-it-esb-client/health.svg)

```
[![Health](https://phpackages.com/badges/drinks-it-esb-client/health.svg)](https://phpackages.com/packages/drinks-it-esb-client)
```

###  Alternatives

[eightpoints/guzzle-bundle

Integrates Guzzle 6.x, a PHP HTTP Client, into Symfony. Comes with easy and powerful configuration options and optional plugins.

44611.9M53](/packages/eightpoints-guzzle-bundle)[akamai-open/edgegrid-client

Implements the Akamai {OPEN} EdgeGrid Authentication specified by https://developer.akamai.com/introduction/Client\_Auth.html

492.4M6](/packages/akamai-open-edgegrid-client)

PHPackages © 2026

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