LearningChatGPT-APIs



First Finds

YouTube Search

Related Articles



Requirements

Requirements for three different OpenAI API's
OpenAI orhanerday/open-ai tectalic/openai
Documentation or Website Documentation or Website Documentation or Website
  • 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'.


Navigation to the phpMyAdmin page in GoDaddy

  1. Logon to GoDaddy
  2. Scroll down to "Web Hosting" and click the "Manage" button, you might have to click a down arrow first
  3. Displaying on this page is a notice: PHP 8.1 is now available! With an "Upgrade" link.
  4. there is a panel titled "Tools", within that panel is "phpMyAdmin" link:
  5. here you can see your tables, Version information, Database client information, and links for "Documentation"


Documentation

php.net

w3schools / php

OpenAI

Libraries for PHP



Reserve



Version Info