PHPackages                             apifreaks/sdk - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. apifreaks/sdk

ActiveLibrary[API Development](/categories/api)

apifreaks/sdk
=============

Official PHP SDK for APIFreaks APIs

v1.0.2(2w ago)02↓50%MITPHPPHP ^8.1CI passing

Since Jun 12Pushed 2w agoCompare

[ Source](https://github.com/api-freaks/af-php-sdk)[ Packagist](https://packagist.org/packages/apifreaks/sdk)[ Docs](https://github.com/api-freaks/af-php-sdk)[ RSS](/packages/apifreaks-sdk/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (3)Dependencies (22)Versions (4)Used By (0)

Apifreaks PHP SDK
=================

[](#apifreaks-php-sdk)

[![fern shield](https://camo.githubusercontent.com/8053034980884cc47f4b7cace74fdfa9cdad97f9200a9e2d4b22fac279356faf/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2546302539462538432542462d4275696c74253230776974682532304665726e2d627269676874677265656e)](https://buildwithfern.com?utm_source=github&utm_medium=github&utm_campaign=readme&utm_source=Apifreaks%2FPHP)[![Packagist Version](https://camo.githubusercontent.com/5747a1c71bdae74c8b4857a90ad45a81128bb2e81d60dd038c4399b63e9a6df4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f617069667265616b732f73646b)](https://packagist.org/packages/apifreaks/sdk)

The Apifreaks PHP library provides convenient access to the Apifreaks APIs from PHP.

Table of Contents
-----------------

[](#table-of-contents)

- [Installation](#installation)
- [Reference](#reference)
- [Usage](#usage)
- [Environments](#environments)
- [Errors](#errors)
- [Request Types](#request-types)
- [Advanced](#advanced)
    - [Retries](#retries)
    - [Timeouts](#timeouts)
    - [Additional Headers](#additional-headers)
    - [Additional Query String Parameters](#additional-query-string-parameters)
- [Contributing](#contributing)

Installation
------------

[](#installation)

Install the package with Composer:

```
composer require apifreaks/sdk
```

Reference
---------

[](#reference)

A full reference for this library is available [here](./reference.md).

Usage
-----

[](#usage)

Instantiate and use the client with the following:

```
