aceproxieshub / reseller-api-php
PHP API library for the Aceproxies reseller API
Requires
- php: ^8.3
- ext-curl: *
- ext-json: *
- ext-mbstring: *
- symfony/http-client: ^7.0
Requires (Dev)
- infection/infection: ^0.34.1
- phpstan/phpstan: ^2.2
- phpunit/phpunit: ^12.5 || ^13.2
- rector/rector: ^2.6
- slevomat/coding-standard: ^8.31
- squizlabs/php_codesniffer: ^4.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-08-24 07:54:47 UTC
README
The Aceproxies PHP library provides straightforward access to Reseller API from applications written in PHP language. Our mission is to provide you clear contracts through pre-defined set of classes and API resources for frictionless integration with your services.
Requirements
PHP 8.3 and later, with the cURL, JSON, and Mbstring extensions.
We stay in sync with the official PHP supported versions and schedule version sunsets according to security support.
Composer
You can install the library via Composer. Run the following command:
composer require aceproxieshub/reseller-api-php
Dependencies
Our library requires the following extensions in order to function properly:
If you use Composer, these dependencies should be handled automatically. If you install manually, you'll want to make sure that these extensions are available.
Getting Started
use Aceproxies\ResellerApi\Client; $client = new Client('your-api-token'); $health = $client->health()->getHealth(); echo $health->status;
Examples
Runnable examples for every public API operation are available in the examples guide
Retry policy
The default client applies a 10-second idle timeout and a 30-second maximum request duration. Read-only GET requests are retried up to three times for rate limits, server errors, and transport failures using bounded exponential backoff. Mutating requests are never retried automatically as they might lead to undesired consequences.
Error
InvalidArgumentExceptionis thrown before transport when a request value is invalid.Aceproxies\ResellerApi\Exception\ApiExceptionexposes the HTTP status, optional API message, and raw response body.Aceproxies\ResellerApi\Exception\InvalidResponseExceptionrepresents malformed or incompatible success payloads.Aceproxies\ResellerApi\Exception\TransportExceptionrepresents exhausted connection or transport failures and retains the underlying exception.
Treat exception bodies and response DTOs containing proxy or service credentials as sensitive data and do not log them indiscriminately.
Security
Report vulnerabilities privately as described in SECURITY.md.