fvgestao/generic-api-client

Generic API Client for PHP

0.1.4 2022-07-14 20:03 UTC

This package is auto-updated.

Last update: 2024-11-15 01:15: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