bycerfrance / llm-api-lib
PHP library for interacting with multiple LLM providers (Google, Mistral, OpenAI, OVH and any OpenAI-compatible endpoint) with failover, retry, and tool calling support
v1.9.1
2026-02-25 10:28 UTC
Requires
- php: ^8.3
- berlioz/http-message: ^2.5 || ^3.0
- psr/http-client: ^1.0
- psr/http-message: ^2.0
Requires (Dev)
- ext-curl: *
- ext-fileinfo: *
- ext-gd: *
- berlioz/http-client: ^2.3 || ^3.0
- phpstan/phpstan: ^2.0
- phpunit/phpunit: ^12.0
Suggests
- ext-fileinfo: To create content from file or stream