Download the PHP package mbvb1223/chat-ai-multiclient without Composer
On this page you can find all versions of the php package mbvb1223/chat-ai-multiclient. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mbvb1223/chat-ai-multiclient
More information about mbvb1223/chat-ai-multiclient
Files in mbvb1223/chat-ai-multiclient
Package chat-ai-multiclient
Short Description A PHP package to interact with OpenAI, Gemini, and Grok chat APIs
License MIT
Informations about the package chat-ai-multiclient
Chat AI Multiclient
A PHP package to interact with multiple chat-based AI APIs, including OpenAI, Gemini, and Grok. This library provides a unified interface to generate text responses from these services, with configurable models and extensible design.
Features
- Supports OpenAI, Gemini, and Grok (placeholder) APIs.
- Configurable AI models for each service.
- Simple factory pattern for easy client instantiation.
- Built with Guzzle HTTP client for reliable API communication.
- PSR-4 autoloading via Composer.
- PSR-12 coding standards.
Requirements
- PHP 8.1 or higher
- Composer
- API keys for the services you intend to use (e.g., OpenAI)
Installation
Use Composer to install the package:
Usage
Run the tests:
Contributing
Contributions are welcome! Feel free to submit issues and pull requests.
License
This project is licensed under the MIT License.
Packagist
https://packagist.org/packages/mbvb1223/chat-ai-multiclient
Code coverage
https://mbvb1223.github.io/chat-ai-multiclient/
Author
Khien - [email protected]
All versions of chat-ai-multiclient with dependencies
guzzlehttp/guzzle Version ^7.0
openai-php/client Version ^0.10.3
gemini-api-php/client Version ^1.7