Search by

aceproxieshub / reseller-api-php

aceproxieshub

PHP API library for the Aceproxies reseller API

Package info

github.com/aceproxieshub/reseller-api-php

pkg:composer/aceproxieshub/reseller-api-php

Statistics

Installs: 4

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 0

v1.2.0 2026-08-19 14:53 UTC

This package is auto-updated.

Last update: 2026-08-24 07:54:47 UTC


README

Build Status PHP Compatibility Latest Stable Version PHP Version Require License

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

  • InvalidArgumentException is thrown before transport when a request value is invalid.
  • Aceproxies\ResellerApi\Exception\ApiException exposes the HTTP status, optional API message, and raw response body.
  • Aceproxies\ResellerApi\Exception\InvalidResponseException represents malformed or incompatible success payloads.
  • Aceproxies\ResellerApi\Exception\TransportException represents 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.