Files
php-sdk/composer.json
zeekay 017380c638 the install line names a repository that answers
hanzo-php/sdk does not exist — the org is empty and git ls-remote returns
"Repository not found", so both the composer vcs entry and the clone line
resolved to nothing. The client publishes from hanzoai/php-sdk, beside the go,
rust, kotlin, java and python clients, which is the tree consumers can reach
today.

Three counts corrected against the document and the generated tree: the 2479/1814
totals are the whole document, of which 48 routes sit outside /v1; the operation
methods number 2502, not 2501, because 23 operations carry two tags and land in
two classes; and every API constructor takes four parameters, the first being
GuzzleHttp\ClientInterface.

The quickstart guards the count the way examples/hello.php already does —
ApiKeyList::getKeys() is nullable and count(null) is a TypeError on an account
with no keys.
2026-08-14 19:58:35 -07:00

32 lines
820 B
JSON

{
"name": "hanzoai/hanzoai",
"description": "The official PHP library for the Hanzo API",
"keywords": ["hanzo", "ai", "cloud", "api", "sdk"],
"homepage": "https://hanzo.ai",
"license": ["Apache-2.0", "MIT"],
"authors": [
{
"name": "Hanzo",
"email": "[email protected]",
"homepage": "https://hanzo.ai"
}
],
"support": {
"issues": "https://github.com/hanzoai/php-sdk/issues",
"source": "https://github.com/hanzoai/php-sdk"
},
"require": {
"php": "^8.1",
"ext-curl": "*",
"ext-json": "*",
"ext-mbstring": "*",
"guzzlehttp/guzzle": "^7.3",
"guzzlehttp/psr7": "^1.7 || ^2.0"
},
"autoload": {
"psr-4": {
"Hanzo\\Cloud\\": "src/"
}
}
}