ninedigit / nws4-php
NWS4 HMAC Authentication
Installs: 7 490
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 2
Open Issues: 0
Requires
- php: >=8.1
- guzzlehttp/guzzle: ~7.0
Requires (Dev)
This package is auto-updated.
Last update: 2025-05-25 06:53:51 UTC
README
Install Composer
curl -sS https://getcomposer.org/installer | php
Install project dependencies
php composer.phar install
Note: Call
php composer.phar dumpautoload
when new class is created.
Run tests
$ ./vendor/bin/phpunit --verbose tests
.
or specific test method can be run using --filter
option e.g. ./vendor/bin/phpunit --verbose tests --filter testFromHttpRequestCreatesCorrectRequest
.
Run compatibility checks
$ ./vendor/bin/phpcs --standard=PHPCompatibility --extensions=php --runtime-set testVersion 7.4- ./src
Run examples
$ cd examples
$ php index.php
Usage
See https://getcomposer.org/doc/05-repositories.md#using-private-repositories how to reference this library in your project.