#118 · Primary category: LLM Application Frameworks
LLPhant
LLPhant - A comprehensive PHP Generative AI Framework using OpenAI GPT 4. Inspired by Langchain
Project last updated:07/26/26
GitHub Stars
1.7K
Forks
171
Contributors
65
License
MIT
Why we included this project
PHP developers often hit a wall when they want to add generative AI to an existing Symfony or Laravel app, since most of the ecosystem assumes Python. LLPhant fills that gap with a Composer-installable library that handles chat completions, embeddings, and vector retrieval behind a simple API, and it works with OpenAI, Anthropic, Mistral, Ollama, and other OpenAI-compatible services. Provider swaps happen through configuration rather than code rewrites, which keeps things flexible if you start with one model and move to another. The framework also covers agents and structured output, the building blocks that usually take real effort to wire together by hand. For a PHP team that wants LLM features in production without stitching together several SDKs, this is a practical, coherent place to start.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
langchain
The agent engineering platform.
dify
Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
headroom
Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
litellm
The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
llama_index
LlamaIndex is the leading document agent and OCR platform