{"adoption": {"forks": 310, "observed_at": "2026-08-28T04:06:50.468982+00:00", "stars": 2419}, "canonical_url": "https://ross.abutalabs.com/products/prism-php-prism", "card": {"archived": false, "artifact_type": "library", "description": "A unified interface for working with LLMs in Laravel", "domain": ["large-language-models", "artificial-intelligence", "web-development", "backend"], "enriched": true, "function": ["llm-inference", "agent-framework", "sdk", "chatbot", "rag", "prompt-engineering", "testing"], "health_score": 82, "homepage": "https://prismphp.com", "language": "PHP", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["prism-php/prism"], "name": "prism-php/prism", "platform": ["php", "self-hosted"], "pushed_at": "2026-03-20T20:37:40+00:00", "repo": "prism-php/prism", "stars": 2419, "tags": ["laravel", "openai", "anthropic", "ollama", "structured-output", "tool-calling", "multi-modal", "fluent-api", "ai-agents", "web-server"], "topics": ["ai", "laravel", "llm", "php", "anthropic", "claude", "openai", "ollama", "hacktoberfest"], "urls": [], "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"], "what_it_is": "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.", "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"], "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"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/prism-php-prism", "repo": "prism-php/prism", "role": "main", "score": 68}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:06:50.468982+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T02:33:05.803986+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "19a897e11db95a1cef318b687b0f5c0e1e812a086e423469b96f8aac7781e6c6", "fetched_at": "2026-08-28T04:06:50.468982+00:00", "kind": "readme", "missing": false, "url": "https://github.com/prism-php/prism"}, {"content_hash": "033c24ce54a5b62ff78b77065f341657a9b733780aa979bb22a081ee993e94cf", "fetched_at": "2026-08-29T10:13:31.206520+00:00", "kind": "homepage", "missing": false, "url": "https://prismphp.com"}, {"content_hash": "79c688c57a7283686db963f834a341082e462c8613ff3268a05607bb8018dc9d", "fetched_at": "2026-08-29T10:13:31.215087+00:00", "kind": "site_page", "missing": false, "url": "https://prismphp.com/getting-started/introduction.html"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:06:50.468982+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T02:33:05.803986+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "19a897e11db95a1cef318b687b0f5c0e1e812a086e423469b96f8aac7781e6c6", "fetched_at": "2026-08-28T04:06:50.468982+00:00", "kind": "readme", "missing": false, "url": "https://github.com/prism-php/prism"}, {"content_hash": "033c24ce54a5b62ff78b77065f341657a9b733780aa979bb22a081ee993e94cf", "fetched_at": "2026-08-29T10:13:31.206520+00:00", "kind": "homepage", "missing": false, "url": "https://prismphp.com"}, {"content_hash": "79c688c57a7283686db963f834a341082e462c8613ff3268a05607bb8018dc9d", "fetched_at": "2026-08-29T10:13:31.215087+00:00", "kind": "site_page", "missing": false, "url": "https://prismphp.com/getting-started/introduction.html"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T02:33:05.803986+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "19a897e11db95a1cef318b687b0f5c0e1e812a086e423469b96f8aac7781e6c6", "fetched_at": "2026-08-28T04:06:50.468982+00:00", "kind": "readme", "missing": false, "url": "https://github.com/prism-php/prism"}, {"content_hash": "033c24ce54a5b62ff78b77065f341657a9b733780aa979bb22a081ee993e94cf", "fetched_at": "2026-08-29T10:13:31.206520+00:00", "kind": "homepage", "missing": false, "url": "https://prismphp.com"}, {"content_hash": "79c688c57a7283686db963f834a341082e462c8613ff3268a05607bb8018dc9d", "fetched_at": "2026-08-29T10:13:31.215087+00:00", "kind": "site_page", "missing": false, "url": "https://prismphp.com/getting-started/introduction.html"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:06:50.468982+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:06:50.468982+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:06:50.468982+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T02:33:05.803986+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "19a897e11db95a1cef318b687b0f5c0e1e812a086e423469b96f8aac7781e6c6", "fetched_at": "2026-08-28T04:06:50.468982+00:00", "kind": "readme", "missing": false, "url": "https://github.com/prism-php/prism"}, {"content_hash": "033c24ce54a5b62ff78b77065f341657a9b733780aa979bb22a081ee993e94cf", "fetched_at": "2026-08-29T10:13:31.206520+00:00", "kind": "homepage", "missing": false, "url": "https://prismphp.com"}, {"content_hash": "79c688c57a7283686db963f834a341082e462c8613ff3268a05607bb8018dc9d", "fetched_at": "2026-08-29T10:13:31.215087+00:00", "kind": "site_page", "missing": false, "url": "https://prismphp.com/getting-started/introduction.html"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:06:50.468982+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:06:50.468982+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T02:33:05.803986+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "19a897e11db95a1cef318b687b0f5c0e1e812a086e423469b96f8aac7781e6c6", "fetched_at": "2026-08-28T04:06:50.468982+00:00", "kind": "readme", "missing": false, "url": "https://github.com/prism-php/prism"}, {"content_hash": "033c24ce54a5b62ff78b77065f341657a9b733780aa979bb22a081ee993e94cf", "fetched_at": "2026-08-29T10:13:31.206520+00:00", "kind": "homepage", "missing": false, "url": "https://prismphp.com"}, {"content_hash": "79c688c57a7283686db963f834a341082e462c8613ff3268a05607bb8018dc9d", "fetched_at": "2026-08-29T10:13:31.215087+00:00", "kind": "site_page", "missing": false, "url": "https://prismphp.com/getting-started/introduction.html"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:06:50.468982+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:06:50.468982+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:06:50.468982+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T02:33:05.803986+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "19a897e11db95a1cef318b687b0f5c0e1e812a086e423469b96f8aac7781e6c6", "fetched_at": "2026-08-28T04:06:50.468982+00:00", "kind": "readme", "missing": false, "url": "https://github.com/prism-php/prism"}, {"content_hash": "033c24ce54a5b62ff78b77065f341657a9b733780aa979bb22a081ee993e94cf", "fetched_at": "2026-08-29T10:13:31.206520+00:00", "kind": "homepage", "missing": false, "url": "https://prismphp.com"}, {"content_hash": "79c688c57a7283686db963f834a341082e462c8613ff3268a05607bb8018dc9d", "fetched_at": "2026-08-29T10:13:31.215087+00:00", "kind": "site_page", "missing": false, "url": "https://prismphp.com/getting-started/introduction.html"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:06:50.468982+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:06:50.468982+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T02:33:05.803986+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "19a897e11db95a1cef318b687b0f5c0e1e812a086e423469b96f8aac7781e6c6", "fetched_at": "2026-08-28T04:06:50.468982+00:00", "kind": "readme", "missing": false, "url": "https://github.com/prism-php/prism"}, {"content_hash": "033c24ce54a5b62ff78b77065f341657a9b733780aa979bb22a081ee993e94cf", "fetched_at": "2026-08-29T10:13:31.206520+00:00", "kind": "homepage", "missing": false, "url": "https://prismphp.com"}, {"content_hash": "79c688c57a7283686db963f834a341082e462c8613ff3268a05607bb8018dc9d", "fetched_at": "2026-08-29T10:13:31.215087+00:00", "kind": "site_page", "missing": false, "url": "https://prismphp.com/getting-started/introduction.html"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T02:33:05.803986+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "19a897e11db95a1cef318b687b0f5c0e1e812a086e423469b96f8aac7781e6c6", "fetched_at": "2026-08-28T04:06:50.468982+00:00", "kind": "readme", "missing": false, "url": "https://github.com/prism-php/prism"}, {"content_hash": "033c24ce54a5b62ff78b77065f341657a9b733780aa979bb22a081ee993e94cf", "fetched_at": "2026-08-29T10:13:31.206520+00:00", "kind": "homepage", "missing": false, "url": "https://prismphp.com"}, {"content_hash": "79c688c57a7283686db963f834a341082e462c8613ff3268a05607bb8018dc9d", "fetched_at": "2026-08-29T10:13:31.215087+00:00", "kind": "site_page", "missing": false, "url": "https://prismphp.com/getting-started/introduction.html"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T02:33:05.803986+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "19a897e11db95a1cef318b687b0f5c0e1e812a086e423469b96f8aac7781e6c6", "fetched_at": "2026-08-28T04:06:50.468982+00:00", "kind": "readme", "missing": false, "url": "https://github.com/prism-php/prism"}, {"content_hash": "033c24ce54a5b62ff78b77065f341657a9b733780aa979bb22a081ee993e94cf", "fetched_at": "2026-08-29T10:13:31.206520+00:00", "kind": "homepage", "missing": false, "url": "https://prismphp.com"}, {"content_hash": "79c688c57a7283686db963f834a341082e462c8613ff3268a05607bb8018dc9d", "fetched_at": "2026-08-29T10:13:31.215087+00:00", "kind": "site_page", "missing": false, "url": "https://prismphp.com/getting-started/introduction.html"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T02:33:05.803986+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "19a897e11db95a1cef318b687b0f5c0e1e812a086e423469b96f8aac7781e6c6", "fetched_at": "2026-08-28T04:06:50.468982+00:00", "kind": "readme", "missing": false, "url": "https://github.com/prism-php/prism"}, {"content_hash": "033c24ce54a5b62ff78b77065f341657a9b733780aa979bb22a081ee993e94cf", "fetched_at": "2026-08-29T10:13:31.206520+00:00", "kind": "homepage", "missing": false, "url": "https://prismphp.com"}, {"content_hash": "79c688c57a7283686db963f834a341082e462c8613ff3268a05607bb8018dc9d", "fetched_at": "2026-08-29T10:13:31.215087+00:00", "kind": "site_page", "missing": false, "url": "https://prismphp.com/getting-started/introduction.html"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 73, "longevity": 65, "rhythm": 63}, "computed_at": "2026-09-03T02:39:23.370411+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 922, "days_push": 166, "days_rel": 166, "gap_med": 1, "n_releases_24m": 150}, "score": 68, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}