lesjoursfr/hapiclient-php

An HTTP Client using HAL as the format for resources.

Installs: 11 306

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 11

Open Issues: 2

pkg:composer/lesjoursfr/hapiclient-php

2.0.4 2025-12-01 10:57 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