evergrowth / paid-ai-php-client
paid.ai php client
1.2.0
2025-07-09 06:50 UTC
Requires
- php: ^8.3
- symfony/http-client: ^7.2
Requires (Dev)
- phpstan/phpstan: ^2.1
- phpstan/phpstan-strict-rules: ^2.0
- phpunit/phpunit: ^12.2
- slevomat/coding-standard: ^8.19
- squizlabs/php_codesniffer: ^3.13
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);