touseef / laravel-llm
A unified, production-minded LLM client for Laravel — Claude and OpenAI behind one interface, with streaming, tool calling, Blade prompt templates, response caching, retries/fallbacks and per-request cost tracking.
v0.1.1
2026-07-24 13:08 UTC
Requires
- php: ^8.2
- illuminate/contracts: ^10.0|^11.0|^12.0|^13.0
- illuminate/support: ^10.0|^11.0|^12.0|^13.0
Requires (Dev)
- anthropic-ai/sdk: ^0.7
- google-gemini-php/client: ^2.7
- laravel/pint: ^1.13
- openai-php/client: ^0.10
- orchestra/testbench: ^8.22|^9.0|^10.0|^11.0
- pestphp/pest: ^2.34|^3.0
- phpstan/phpstan: ^1.11
Suggests
- anthropic-ai/sdk: Required by the anthropic driver (^0.7).
- google-gemini-php/client: Required by the gemini driver (^2.7).
- openai-php/client: Required by the openai driver (^0.10).