evergrowth/paid-ai-php-client

paid.ai php client

1.2.0 2025-07-09 06:50 UTC

This package is auto-updated.

Last update: 2025-07-28 11:51:30 UTC


README

Installation

Add repository config to the application's composer.json file:

{
    // ...
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/evergrowth-com/paid-ai-php-client"
        }
    ]
}

Run: composer require evergrowth/paid-ai-php-client

Usage

Create a client using api key:

<?php

use Evergrowth\PaidAiPhpClient\PaidAiApiClient;
use Evergrowth\PaidAiPhpClient\PaidAiApiClientInterface;

$client = PaidAiApiClient::new('secret-api-key');

assert($client instanceof PaidAiApiClientInterface);