PHPackages                             lesjoursfr/hapiclient-php - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. lesjoursfr/hapiclient-php

ActiveLibrary[HTTP &amp; Networking](/categories/http)

lesjoursfr/hapiclient-php
=========================

An HTTP Client using HAL as the format for resources.

2.0.5(4mo ago)012.5k↓47.1%[1 issues](https://github.com/lesjoursfr/hapiclient-php/issues)MITPHPPHP ^8.3CI passing

Since Oct 7Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/lesjoursfr/hapiclient-php)[ Packagist](https://packagist.org/packages/lesjoursfr/hapiclient-php)[ Docs](https://github.com/lesjoursfr/hapiclient-php)[ RSS](/packages/lesjoursfr-hapiclient-php/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (6)Dependencies (5)Versions (9)Used By (0)

HAPI Client
===========

[](#hapi-client)

An HTTP Client implementing the [HAL specification](https://datatracker.ietf.org/doc/html/draft-kelly-json-hal-07). This project is a fork of the original Slimpay PHP HAPI client project rewrited to fix an issue with Guzzle 7.

### Installation

[](#installation)

```
composer install lesjoursfr/hapiclient-php

```

### Documentation

[](#documentation)

The documentation is available [here](https://lesjoursfr.github.io/hapiclient-php/)

### Development only

[](#development-only)

To install the Symphony PHP CS you have to run the following commands (assuming you have downloaded [composer.phar](https://getcomposer.org/)) :

```
php composer.phar install
vendor/bin/phpcs --config-set installed_paths vendor/escapestudios/symfony2-coding-standard

```

Then you can check the code style with the following command

```
vendor/squizlabs/php_codesniffer/bin/phpcs --standard=./phpcs.xml --no-cache --parallel=1 ./src ./tests

```

To generate the documentation you have to run (assuming you have downloaded [phpDocumentor.phar](https://www.phpdoc.org/)) :

```
php phpDocumentor.phar run -d src/ -t docs

```

###  Health Score

49

—

FairBetter than 95% of packages

Maintenance79

Regular maintenance activity

Popularity24

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 73.3% 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 ~237 days

Recently: every ~192 days

Total

6

Last Release

133d ago

PHP version history (3 changes)2.0.0PHP ^7.4 || ^8.0

2.0.2PHP ^8.0

2.0.4PHP ^8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/3687d9ca9b6c924a70dce520a304bb674e8520b94df8db285429a755917e3855?d=identicon)[e-adrien](/maintainers/e-adrien)

---

Top Contributors

[![renovate[bot]](https://avatars.githubusercontent.com/in/2740?v=4)](https://github.com/renovate[bot] "renovate[bot] (55 commits)")[![e-adrien](https://avatars.githubusercontent.com/u/2673855?v=4)](https://github.com/e-adrien "e-adrien (18 commits)")[![SlimPayDev](https://avatars.githubusercontent.com/u/75726367?v=4)](https://github.com/SlimPayDev "SlimPayDev (2 commits)")

---

Tags

httpclientresthttp clienthalHATEOAShal clienthapi

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/lesjoursfr-hapiclient-php/health.svg)

```
[![Health](https://phpackages.com/badges/lesjoursfr-hapiclient-php/health.svg)](https://phpackages.com/packages/lesjoursfr-hapiclient-php)
```

###  Alternatives

[slimpay/hapiclient

An HTTP Client using HAL as the format for resources.

14317.3k](/packages/slimpay-hapiclient)[zoonman/pixabay-php-api

PixabayClient is a PHP HTTP client library to access Pixabay's API

3354.7k](/packages/zoonman-pixabay-php-api)[e-moe/guzzle6-bundle

Integrates Guzzle 6 into your Symfony application

11259.2k](/packages/e-moe-guzzle6-bundle)[jsor/hal-client

A lightweight client for consuming and manipulating Hypertext Application Language (HAL) resources.

2425.9k1](/packages/jsor-hal-client)[opgg/riotquest

RiotQuest, PHP RiotAPI client library that focused on multi request from OP.GG

172.6k](/packages/opgg-riotquest)

PHPackages © 2026

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