abdala / generic-api-client
Generic API Client for PHP
Installs: 3 217
Dependents: 0
Suggesters: 0
Security: 0
Stars: 6
Watchers: 3
Forks: 3
Open Issues: 0
Requires
- php: >=5.6
- guzzlehttp/guzzle: ~6.1
- guzzlehttp/promises: ~1.0
- guzzlehttp/psr7: ~1.0
- mtdowling/jmespath.php: ~2.2
Requires (Dev)
- ext-dom: *
- ext-json: *
- ext-openssl: *
- ext-pcre: *
- ext-simplexml: *
- ext-spl: *
- andrewsville/php-token-reflection: ^1.4
- behat/behat: ~3.0
- doctrine/cache: ~1.4
- nette/neon: ^2.3
- phpunit/phpunit: ~4.0
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
This package is auto-updated.
Last update: 2024-11-07 10:04:09 UTC
README
Resources
- User Guide – For both getting started and in-depth SDK usage information
- API Docs – For details about operations, parameters, and responses
- Blog – Tips & tricks, articles, and announcements
- AWS Sample Project - A quick, sample project to help get you started
- Generic Sample Project
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
- AWS Service Provider for Laravel
- AWS SDK ZF2 Module
- AWS Service Provider for Silex
- AWS SDK Bundle for Symfony
- Guzzle Version 6 – PHP HTTP client and framework