Search by

digipolisgent / api-client

Jelle-Szero2one

This package provides interfaces and abstract implementations to create an API client.

Package info

github.com/district09/php_package_dg-api-client

Homepage

pkg:composer/digipolisgent/api-client

Statistics

Installs: 105 732

Dependents: 6

Suggesters: 0

Stars: 1

Open Issues: 0

4.2.0 2026-09-18 07:22 UTC

README

This package provides interfaces and abstract implementations to create an API client.

Latest Stable Version Total Downloads License

Build Status Maintainability Test Coverage PHP from Packagist

Install

Install the package:

composer require digipolisgent/api-client

Requirements

The package supports PHP ^7.4 || ^8.0 and Guzzle ^6.5 || ^7.0 || ^8.0. Guzzle 8 support allows consumers such as Drupal 12 to use Guzzle PSR-7 3.x.

Usage

See the examples of service packages how to use this package:

Change log

Please see CHANGELOG for more information what has changed recently.

Testing

Install the development dependencies on PHP 8.3, 8.4, or 8.5:

composer install

Run the complete QA suite:

composer grumphp

Run the PHPUnit suite:

composer phpunit

QA PHP generates the schema-correct PHPUnit 11.5 or 12.5 configuration automatically. The PHPUnit and coverage scripts run the QA PHP test suite, so no project-level phpunit.xml file is needed. Coverage reports are written to build/ when code coverage is available.

License

The MIT License (MIT). Please see License File for more information.