Download the PHP package sysborg/chatgpt without Composer
On this page you can find all versions of the php package sysborg/chatgpt. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package chatgpt
Sysborg ChatGPT Laravel Package
A simple and effective integration between Laravel and ChatGPT. This package provides a clean, developer-friendly interface for interacting with the OpenAI API, including support for chat, text completions, and image analysis with GPT-4 Vision.
Features
- ✅ Chat Completions – Conversational AI with memory
- ✅ Text Completions – Continue or generate texts
- ✅ Vision Analysis – Image understanding with GPT-4 Vision
- ✅ Rate Limiting – Configurable request throttling
- ✅ Retry Logic – Automatic retries on failures
- ✅ Multiple Models – GPT-3.5, GPT-4, and GPT-4 Vision supported
- ✅ Laravel Integration – Includes Service Provider and Facade
- ✅ Auto Discovery – Automatically registered in Laravel
Installation
Install the package via Composer:
Publish Configuration
To publish the config file:
Set Your API Key
Add your OpenAI API key in the .env file:
Configuration
Customize config/chatgpt.php to match your needs:
Basic Usage
Simple Chat
Chat With History
Text Completion
Image Analysis
Dynamic Configuration
Handling Responses
Chat Response
Vision Response
Error Handling
Rate Limiting
Built-in rate limit handling:
Available Models
Example Output:
Advanced Examples
Chat with Custom Config
Vision Analysis with Settings
Contributing
Contributions are welcome! Please open an issue or submit a pull request.
License
This package is licensed under the MIT License.
Author
Anderson Arruda 📧 [email protected] 🐙 @andmarruda on GitHub
Support
If you encounter any issues or have questions, please open a GitHub Issue.
All versions of chatgpt with dependencies
illuminate/support Version ^9.0|^10.0|^11.0|^12.0
illuminate/http Version ^9.0|^10.0|^11.0|^12.0
illuminate/config Version ^9.0|^10.0|^11.0|^12.0
guzzlehttp/guzzle Version ^7.0