elife / api-client
eLife Sciences API client
v2.0.0
2026-10-27 12:03 UTC
Requires
- php: ^8.4
- beberlei/assert: ^3.3
- composer/package-versions-deprecated: 1.11.99.2
- crell/api-problem: ^3.6
- guzzlehttp/promises: ^2.0
- guzzlehttp/psr7: ^2.7
- psr/http-message: ^1.0
Requires (Dev)
- guzzlehttp/guzzle: ^7.0
- mtdowling/jmespath.php: ^2.0
- phpspec/phpspec: ^8.0
- phpspec/prophecy: ^1.10
- phpunit/phpunit: ^12.5.0
- psr/log: ^1.0
- squizlabs/php_codesniffer: ^3.10
Suggests
- mtdowling/jmespath.php: ^2.0, to use the Result::search() method
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-10-30 15:16:33 UTC
README
This library provides a PHP client for the eLife Sciences API.
Dependencies
- PHP 8.4+
You will need an implementation of eLife\ApiClient\HttpClient; the client provides an adapter for Guzzle Http v7.
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.