Download the PHP package lmsomeco/laravel-ai-models without Composer
On this page you can find all versions of the php package lmsomeco/laravel-ai-models. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package laravel-ai-models
Laravel AI Models
A companion package for the Laravel AI SDK (laravel/ai)
that lists and caches the currently-available models for each provider you have
configured. It reads your credentials straight from config/ai.php and keys
everything on the SDK's own Laravel\Ai\Enums\Lab enum, so there's nothing to
configure twice.
Requirements
- PHP 8.3+
laravel/ai^0.7, ^0.8, ^0.9 or ^0.10
Install
Any provider with credentials already set in config/ai.php is picked up
automatically — no extra keys or env vars.
Usage
Artisan
Facade / service
Registry methods return Laravel collections, so model properties and modality helpers can be used directly when filtering:
This strict form also excludes models whose output capabilities are unknown.
The ModelRegistry is resolvable from the container if you prefer DI over the
facade.
Provider coverage
Provider (Lab) |
Resolver | Status |
|---|---|---|
OpenAI |
OpenAiResolver |
✅ live (catalog-enriched modalities) |
Groq |
OpenAiCompatibleResolver |
✅ live |
Mistral |
OpenAiCompatibleResolver |
✅ live |
DeepSeek |
OpenAiCompatibleResolver |
✅ live |
xAI |
OpenAiCompatibleResolver |
✅ live |
OpenRouter |
OpenRouterResolver |
✅ live (rich metadata, no key needed) |
Anthropic |
AnthropicResolver |
✅ live |
| Gemini, Ollama, Azure, Cohere, ElevenLabs, Bedrock, Jina, VoyageAI | — | ⏳ not yet implemented |
See docs/extending.md for per-provider notes and how to
add a resolver — contributions welcome.
Documentation
- Installation — publish tags, env vars, how credentials are read
- Usage — the
ai:modelscommand and the full facade/DI API - Database connectors — optional DB-backed provider configs
- Caching — cache keys, TTL and busting
- Extending — writing your own
ProviderResolver
License
MIT.
All versions of laravel-ai-models with dependencies
laravel/ai Version ^0.7|^0.8|^0.9|^0.10|^0.11
illuminate/console Version ^12.0|^13.0
illuminate/database Version ^12.0|^13.0
illuminate/http Version ^12.0|^13.0
illuminate/support Version ^12.0|^13.0