elife/api-client

eLife Sciences API client

Maintainers

Package info

github.com/elifesciences/api-client-php

pkg:composer/elife/api-client

Statistics

Installs: 34 160

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 8

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.