chatGPT-3.5-API
To install PHP chatGPT API Class, run the following command:
composer require murongmingyue/chatgptturboapi
use murongmingyue/chatgptturboapi;
$appKey = env('Your chatGPT AppKey');
$chatApi = new chatApi($appKey);
$content = 'Hello!';
$response = $chatApi->chatApi($content);
var_dump($response);