PHPackages                             dneustadt/openai-client - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. dneustadt/openai-client

ActiveLibrary[HTTP &amp; Networking](/categories/http)

dneustadt/openai-client
=======================

Client for OpenAI API

0.2.2(3y ago)8861[2 issues](https://github.com/dneustadt/openai-client/issues)MITPHPPHP &gt;=7.2

Since May 21Pushed 3y ago2 watchersCompare

[ Source](https://github.com/dneustadt/openai-client)[ Packagist](https://packagist.org/packages/dneustadt/openai-client)[ Docs](https://neustadt.dev)[ RSS](/packages/dneustadt-openai-client/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (4)Dependencies (4)Versions (5)Used By (0)

OpenAI PHP Client
=================

[](#openai-php-client)

OpenAI is an AI research and deployment company. Our mission is to ensure that artificial general intelligence benefits all of humanity.

Installation &amp; Usage
------------------------

[](#installation--usage)

### Requirements

[](#requirements)

PHP 7.2 and later.

### Composer

[](#composer)

To install via [Composer](https://getcomposer.org/):

`composer require dneustadt/openai-client`

Getting Started
---------------

[](#getting-started)

Please follow the [installation procedure](#installation--usage) and then run the following:

```
