PHPackages                             freedomtech-hosting/polydock-amazeeai-backend-client-php - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. freedomtech-hosting/polydock-amazeeai-backend-client-php

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

freedomtech-hosting/polydock-amazeeai-backend-client-php
========================================================

The Freedom Tech amazee.ai Private AI PHP library

v0.1.4(3w ago)01.8k↓66.9%[3 PRs](https://github.com/amazeeio/polydock-amazeeai-backend-php-lib/pulls)2MITPHPCI passing

Since Mar 6Pushed 3w agoCompare

[ Source](https://github.com/amazeeio/polydock-amazeeai-backend-php-lib)[ Packagist](https://packagist.org/packages/freedomtech-hosting/polydock-amazeeai-backend-client-php)[ RSS](/packages/freedomtech-hosting-polydock-amazeeai-backend-client-php/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (9)Dependencies (3)Versions (19)Used By (2)

Polydock amazee.ai Backend PHP Library
======================================

[](#polydock-amazeeai-backend-php-library)

The Freedom Tech **amazee.ai Private AI PHP library** provides a simple, object-oriented interface to interact with the amazee.ai backend API.

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

[](#installation)

Install the library via [Composer](https://getcomposer.org/):

```
composer require freedomtech-hosting/polydock-amazeeai-backend-client-php
```

Requirements
------------

[](#requirements)

- PHP 8.2 or higher
- `ext-curl` extension
- `ext-json` extension

Basic Usage
-----------

[](#basic-usage)

To get started, instantiate the `Client` with your API base URL and an optional access token.

```
use FreedomtechHosting\PolydockAmazeeAIBackendClient\Client;

$baseUrl = 'https://api.amazee.ai';
$accessToken = 'your-access-token';

$client = new Client($baseUrl, $accessToken);

// Example: Get current user info
try {
    $me = $client->getMe();
    print_r($me);
} catch (\Exception $e) {
    echo "Error: " . $e->getMessage();
}
```

### Authentication

[](#authentication)

If you don't have a token yet, you can login to receive one:

```
$response = $client->login('user@example.com', 'password');
$token = $response['token']; // Depending on API response structure
```

### Working with Teams

[](#working-with-teams)

```
// List all teams
$teams = $client->listTeams();

// Create a new team
$newTeam = $client->createTeam('My Team', 'admin@example.com');
```

### Private AI Keys

[](#private-ai-keys)

```
// List Private AI keys
$keys = $client->listPrivateAIKeys();

// Create a new Private AI key
$client->createPrivateAIKeys($regionId, 'my-key-name');
```

Features
--------

[](#features)

- **Authentication**: Login, Register, Logout, and Token management.
- **User Management**: Search, Create, Update, and Delete users.
- **Team Management**: Manage teams and user assignments.
- **Private AI Keys**: Manage your private AI keys and tokens.
- **Region Management**: List and manage regions (Admin).
- **Audit Logs**: Access system audit logs.
- **Health Check**: Monitor API health status.

Debug Mode
----------

[](#debug-mode)

Enable debug mode to see detailed request/response information in the console:

```
$client = new Client($baseUrl, $accessToken, debug: true);
```

License
-------

[](#license)

This library is licensed under the **MIT License**. See the `LICENSE` file for details.

###  Health Score

44

—

FairBetter than 90% of packages

Maintenance96

Actively maintained with recent releases

Popularity20

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~38 days

Recently: every ~27 days

Total

13

Last Release

21d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/297936?v=4)[Blaize Kaye](/maintainers/bomoko)[@bomoko](https://github.com/bomoko)

![](https://www.gravatar.com/avatar/b52b2e4e3bfa2cf7166ca8c09058c609c0e7e2b0f3e9226d43a9e3ca1db721de?d=identicon)[bryangruneberg](/maintainers/bryangruneberg)

![](https://www.gravatar.com/avatar/fe26dc8bee3ef1f7c3422d217cf234523b1c47bd3b746e85cc827c8e1204bf9d?d=identicon)[uselagoon-user](/maintainers/uselagoon-user)

---

Top Contributors

[![bryangruneberg](https://avatars.githubusercontent.com/u/383346?v=4)](https://github.com/bryangruneberg "bryangruneberg (8 commits)")[![dan2k3k4](https://avatars.githubusercontent.com/u/158704?v=4)](https://github.com/dan2k3k4 "dan2k3k4 (6 commits)")[![Schnitzel](https://avatars.githubusercontent.com/u/750999?v=4)](https://github.com/Schnitzel "Schnitzel (5 commits)")[![smlx](https://avatars.githubusercontent.com/u/861778?v=4)](https://github.com/smlx "smlx (2 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

---

Tags

polydock

### Embed Badge

![Health badge](/badges/freedomtech-hosting-polydock-amazeeai-backend-client-php/health.svg)

```
[![Health](https://phpackages.com/badges/freedomtech-hosting-polydock-amazeeai-backend-client-php/health.svg)](https://phpackages.com/packages/freedomtech-hosting-polydock-amazeeai-backend-client-php)
```

###  Alternatives

[symfony/asset-mapper

Maps directories of assets &amp; makes them available in a public directory with versioned filenames.

1678.8M238](/packages/symfony-asset-mapper)[blackfire/player

A powerful web crawler and web scraper with Blackfire support

49617.1k](/packages/blackfire-player)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
