elife/api-client

eLife Sciences API client

Installs: 32 746

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 11

Forks: 1

Open Issues: 7

pkg:composer/elife/api-client

v1.2.0 2024-12-17 07:59 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.