elife / api-client
eLife Sciences API client
Installs: 26 274
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 12
Forks: 1
Open Issues: 4
Requires
- php: ^7.1 || ^8.0
- beberlei/assert: >=2.2
- composer/package-versions-deprecated: 1.11.99.2
- crell/api-problem: ^3.6
- guzzlehttp/promises: ^1.0 || ^2.0
- guzzlehttp/psr7: ^1.0 || ^2.7
- psr/http-message: ^1.0
Requires (Dev)
- guzzlehttp/guzzle: ^6.0 || ^7.0
- mtdowling/jmespath.php: ^2.0
- phpspec/phpspec: ^5.1 || ^6.3 || ^7.5
- phpspec/prophecy: ^1.10
- phpunit/phpunit: ^7.5.20 || ^8.5 || ^9.6 || ^10.2
- psr/log: ^1.0
- squizlabs/php_codesniffer: ^3.10
Suggests
- guzzlehttp/guzzle: ^6.0, to use the Guzzle6HttpClient adapter
- monolog/monolog: ^1.0, to use the HttpMessageProcessor log processor
- mtdowling/jmespath.php: ^2.0, to use the Result::search() method
- psr/log: ^1.0, to use the WarningCheckingHttpClient adapter
- dev-master
- v1.2.0
- v1.1.0
- v1.0.0
- dev-renovate/psr-log-3.x
- dev-renovate/psr-http-message-2.x
- dev-renovate/phpunit-phpunit-11.x
- dev-renovate/composer-2.x
- dev-renovate/configure
- dev-widen-guzzle-promises
- dev-article-poa-version
- dev-php8-1-support
- dev-bug/fix-path-reviewed-preprints
- dev-ocramius-package-versions-composer-2
- dev-solve_warnings_get_mock
- dev-missing_exception
This package is auto-updated.
Last update: 2024-12-17 08:01:57 UTC
README
This library provides a PHP client for the eLife Sciences API.
Dependencies
- PHP 7
You will need an implementation of eLife\ApiClient\HttpClient
; the client provides an adapter for Guzzle 6.
Installation and usage
This library provides base HTTP functionality for the classes available in elife/api-sdk-php
. Please use that package instead of consuming this directly.
If you do want to use it, you can do so via composer, e.g. composer require elife/api-client
.
Deprecation warnings
As the eLife API provides deprecation warnings using the HTTP Warning
header, the eLife\ApiClient\HttpClient\WarningCheckingHttpClient
will pass these to a PSR-7 logger.