Download the PHP package krzar/laravel-openai-api without Composer
On this page you can find all versions of the php package krzar/laravel-openai-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package laravel-openai-api
Laravel Open AI Api Connector (BETA)
This package allow you to connect to OpenAI API and use it in your Laravel application.
Requirements
- Laravel 11.x
- PHP 8.2+
Installation
Usage
For more details about OpenAI API visit OpenAI API
Configuration
Add your OpenAI API key to your .env
file:
Config file
You can publish and edit the configuration file:
Usage
Example of usage chat endpoint:
All versions of laravel-openai-api with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.2
illuminate/support Version ^11.0
illuminate/http Version ^11.0
krzar/array-dto Version ^1.1
illuminate/support Version ^11.0
illuminate/http Version ^11.0
krzar/array-dto Version ^1.1
The package krzar/laravel-openai-api contains the following files
Loading the files please wait ....