lesjoursfr/hapiclient-php

An HTTP Client using HAL as the format for resources.

2.0.1 2023-12-01 07:52 UTC

This package is auto-updated.

Last update: 2024-10-31 12:14:10 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