Download the PHP package getfreeproxy/sdk without Composer
On this page you can find all versions of the php package getfreeproxy/sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download getfreeproxy/sdk
More information about getfreeproxy/sdk
Files in getfreeproxy/sdk
Package sdk
Short Description A lightweight PHP client for the Freeproxy API
License MIT
Homepage https://developer.getfreeproxy.com/
Informations about the package sdk
Freeproxy PHP Client
A small, dependency-free PHP client for the Freeproxy API. Focused on clear, typed models and a fluent QueryBuilder API.
Requirements
Freeproxy PHP Client
A small, dependency-free PHP client for the Freeproxy API. Focused on clear, typed models and a fluent QueryBuilder API.
Requirements
- PHP 8.0+
- cURL extension
Installation
Install via Composer:
Or include this repository in your project and run composer dump-autoload.
Quick Start
Querying with filters
Exceptions
Getfreeproxy\Sdk\Exception\ApiExceptionGetfreeproxy\Sdk\Exception\UnauthorizedExceptionGetfreeproxy\Sdk\Exception\InvalidParameterException
These wrap API errors and network problems. Inspect getApiErrorCode() on ApiException for the provider's error code when available.
Notes
- The client uses cURL by default and supports a
timeoutoption via the constructor. - The API requires a Bearer token set as the constructor
apiKeyor viaFREEPROXY_API_KEYenvironment variable in examples.
Examples
See the examples/usage.php for a quick demonstration.
License
MIT License - see LICENSE file for details
Support
For API documentation, visit: https://developer.getfreeproxy.com/docs