- OpenAI PHP interact with Open AI API
- Requires PHP 8.1+
- GoDaddy is using PHP version 7.4.30
- GoDaddy - PHP 8.1 is now available
- install OpenAI via Composer package manager
- Composer - a dependency manager for PHP
- I hope GoDaddy includes OpenAI in PHP 8.1
|
- requires PHP 7.4+
- ext-curl:*
- ext-json:*
- friendsofphp/php-cs-fixer: ^3.0
- pestphp/pest: ^1.20
- spatie/ray: ^1.28
|
- requires PHP 7.2.5+
- PHP JSON extension installed if using PHP 7.x.
- As of PHP 8.0, this extension became a core PHP extension so is always enabled.
- Composer Installation: composer require tectalic/openai
- a compatible PSR-18 HTTP client such as 'Guzzle' or the Symfony 'HTTP Client'.
|