elife/api-client

eLife Sciences API client

v1.1.0 2024-11-07 14:19 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.