codechap / yii3-ai
Yii3 multi-provider AI wrapper with DI integration for OpenAI, Anthropic, Mistral, xAI, Google Gemini, and OpenRouter.
v1.0.0
2026-07-27 07:15 UTC
Requires
- php: 8.2 - 8.5
- psr/http-client: ^1.0
- psr/http-factory: ^1.0
- psr/http-message: ^1.1 || ^2.0
- symfony/console: ^6.0 || ^7.0
- yiisoft/friendly-exception: ^1.1
Requires (Dev)
- guzzlehttp/guzzle: ^7.10
- httpsoft/http-message: ^1.1
- phpunit/phpunit: ^10.0
- vimeo/psalm: ^5.26.1 || ^6.13.1
Suggests
- guzzlehttp/guzzle: PSR-18 HTTP client implementation
- httpsoft/http-message: PSR-7/PSR-17 implementation for HTTP message handling
- yiisoft/yii-console: Required for using the ai:query console command with the Yii3 console runner