lesjoursfr/hapiclient-php

An HTTP Client using HAL as the format for resources.

Maintainers

Package info

github.com/lesjoursfr/hapiclient-php

pkg:composer/lesjoursfr/hapiclient-php

Statistics

Installs: 12 348

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 1

2.0.5 2026-01-06 11:26 UTC

This package is auto-updated.

Last update: 2026-03-01 04:46:13 UTC


README

An HTTP Client implementing the HAL specification. This project is a fork of the original Slimpay PHP HAPI client project rewrited to fix an issue with Guzzle 7.

Installation

composer install lesjoursfr/hapiclient-php

Documentation

The documentation is available here

Development only

To install the Symphony PHP CS you have to run the following commands (assuming you have downloaded composer.phar) :

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) :

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