abdala/generic-api-client

Generic API Client for PHP

Maintainers

👁 abdala

Package info

github.com/abdala/gant

Homepage

pkg:composer/abdala/generic-api-client

Statistics

Installs: 3 221

Dependents: 0

Suggesters: 0

Stars: 6

Open Issues: 0

0.1.2 2016-09-19 20:32 UTC

Requires (Dev)

Suggests

  • ext-curl: To send requests using cURL
  • ext-openssl: Allows working with CloudFront private distributions and verifying received SNS messages
  • doctrine/cache: To use the DoctrineCacheAdapter

Provides

None

Conflicts

None

Replaces

None

Apache 2.0 285bbd74ed65619bed66d7a3205f84c218715144

apibasegeneric

This package is auto-updated.

Last update: 2026-06-07 13:33:51 UTC


README

Resources

Features

  • Provides easy-to-use HTTP client
  • Is built on Guzzle, and utilizes many of its features, including persistent connections, asynchronous requests, middlewares, etc.
  • Provides convenience features including easy result pagination via Paginators, Waiters, and simple Result objects.
  • Provides a multipart uploader tool

Install

composer require abdala/generic-api-client

Quick Examples

CloudFlare Client

Sample project: https://github.com/abdala/cloudflare-client

<?php
$client = new CloudFlare\Client([
 'version' => '4',
 'key' => 'your key',
 'email' => 'email@domain.com'
]);
echo $client->listZones();

Related Projects