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(1mo ago)05.2kMITPHPPHP ^7.1 || ^8.0CI failing

Since Mar 20Pushed 1mo 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 1mo 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

53

—

FairBetter than 97% of packages

Maintenance89

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

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

[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k7.6M74](/packages/openai-php-laravel)[algolia/algoliasearch-client-php

API powering the features of Algolia.

69333.0M114](/packages/algolia-algoliasearch-client-php)[danog/madelineproto

Async PHP client API for the telegram MTProto protocol.

3.4k855.0k18](/packages/danog-madelineproto)[eightpoints/guzzle-bundle

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

45912.1M55](/packages/eightpoints-guzzle-bundle)[opensearch-project/opensearch-php

PHP Client for OpenSearch

15024.3M64](/packages/opensearch-project-opensearch-php)[akamai-open/edgegrid-client

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

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

PHPackages © 2026

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