abdala/generic-api-client

Generic API Client for PHP

0.1.2 2016-09-19 20:32 UTC

This package is auto-updated.

Last update: 2024-11-07 10:04:09 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