PHPackages                             hanzoai/hanzoai - 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. hanzoai/hanzoai

ActiveLibrary[API Development](/categories/api)

hanzoai/hanzoai
===============

The official PHP library for the Hanzo API

v8.5.156(today)01↑2900%Apache-2.0PHPPHP ^8.1

Since Aug 28Pushed todayCompare

[ Source](https://github.com/hanzoai/php-sdk)[ Packagist](https://packagist.org/packages/hanzoai/hanzoai)[ Docs](https://hanzo.ai)[ RSS](/packages/hanzoai-hanzoai/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (2)Versions (2)Used By (0)

hanzoai/hanzoai
===============

[](#hanzoaihanzoai)

The PHP client for the Hanzo API: every operation the document declares, generated from the API's own OpenAPI document.

Install
-------

[](#install)

Not on Packagist yet, so `composer require` has nothing to resolve. Take it from the repository instead:

```
{
    "repositories": [{ "type": "vcs", "url": "https://github.com/hanzoai/php-sdk" }],
    "require": { "hanzoai/hanzoai": "dev-main" }
}
```

Or build it in place:

```
git clone https://github.com/hanzoai/php-sdk.git
cd php-sdk
composer install
```

PHP 8.1 or newer, with `curl`, `json` and `mbstring`. Composer brings Guzzle 7.

Quickstart
----------

[](#quickstart)

```
