prism-php/prism
A unified interface for working with LLMs in Laravel observed · 2026-08-28
Health v2 · maintenance only
68/100
- Activity 73
- Release rhythm 63
- Longevity 65
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 1
- age_days: 922
- days_rel: 166
- days_push: 166
- n_releases_24m: 150
Adoption not part of the score
2419 stars · 310 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Prism is a Laravel package providing a unified, fluent interface for working with Large Language Models across providers like OpenAI, Anthropic, Mistral, and Ollama. It supports text generation, multi-step conversations, tool calling, structured output, multi-modal inputs, and first-class testing utilities.
Use cases
- generate text with llms in a laravel app
- switch between openai and anthropic without rewriting code
- build a chatbot with multi-step conversations in php
- call llm tools and external apis from laravel
- get structured typed output from llm responses
- fake llm responses in unit tests
- send images and audio to llms
When to choose
- you are building a Laravel or PHP application that needs LLM features
- you want provider-agnostic LLM integration with a clean fluent API
- you need tool calling, structured output, or multi-modal support in PHP
- you want built-in testing fakes for AI features
When to avoid
- your project is not PHP/Laravel-based
- you need raw low-level control over provider-specific API features
- you need high-throughput LLM inference infrastructure rather than an application-level SDK
Facets
library · maturity active
llm-inference agent-framework sdk chatbot rag prompt-engineering testing large-language-models artificial-intelligence web-development backend php self-hosted laravel openai anthropic ollama structured-output tool-calling multi-modal fluent-api ai-agents web-server
3 sources
- readme: https://github.com/prism-php/prism · fetched 2026-08-28 · 19a897e11db9
- homepage: https://prismphp.com · fetched 2026-08-29 · 033c24ce54a5
- site_page: https://prismphp.com/getting-started/introduction.html · fetched 2026-08-29 · 79c688c57a72
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| prism-php/prism | main | 68 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem