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. [Utility &amp; Helpers](/categories/utility)
4. /
5. drinks-it/esb-client

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

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

ESB client.

2.33(3mo ago)05.3kMITPHPPHP ^7.1 || ^8.0CI failing

Since Mar 20Pushed 3mo 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 3w ago

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

51

—

FairBetter than 95% of packages

Maintenance81

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

99d 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

[tempest/framework

The PHP framework that gets out of your way.

2.2k31.1k12](/packages/tempest-framework)[grumpydictator/firefly-iii

Firefly III: a personal finances manager.

23.8k69.4k](/packages/grumpydictator-firefly-iii)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

749284.3k35](/packages/civicrm-civicrm-core)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

19564.8M1.6k](/packages/drupal-core)[ecotone/ecotone

Enterprise architecture layer for Laravel and Symfony — CQRS, Event Sourcing, Durable Workflows (Sagas, Orchestrators), Projections, and Outbox messaging via PHP attributes.

562565.8k42](/packages/ecotone-ecotone)[run-as-root/magento2-prometheus-exporter

Magento2 Prometheus Exporter

68353.9k](/packages/run-as-root-magento2-prometheus-exporter)

PHPackages © 2026

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