lesjoursfr / hapiclient-php
An HTTP Client using HAL as the format for resources.
Installs: 4 754
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 10
Open Issues: 1
Requires
- php: ^7.4 || ^8.0
- guzzlehttp/guzzle: ^7.8.0
- guzzlehttp/uri-template: ^1.0.2
Requires (Dev)
- escapestudios/symfony2-coding-standard: ^3.13.0
- phpunit/phpunit: ^10.5.0
- squizlabs/php_codesniffer: ^3.7.2
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