lesjoursfr / hapiclient-php
An HTTP Client using HAL as the format for resources.
Installs: 5 495
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 10
Open Issues: 1
Requires
- php: ^8.0
- guzzlehttp/guzzle: ^7.9.2
- guzzlehttp/uri-template: ^1.0.3
Requires (Dev)
- escapestudios/symfony2-coding-standard: ^3.15.0
- phpunit/phpunit: ^11.4.4
- squizlabs/php_codesniffer: ^3.11.1
This package is auto-updated.
Last update: 2024-12-04 15:20:59 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