GraphCanon updated today · GitHub synced today · 30 views this month
Decision brief
LLPhant emerges as a specialized PHP framework for integrating Generative AI functionalities by leveraging OpenAI's GPT-4.
Good fit when
- If your project is built with PHP and requires advanced integration of generative AI features, especially using GPT-4 models.
- Suitable for developers looking to implement specific PHP-based solutions in the Laravel or Symfony frameworks, as LLPhant has topics aligned with these ecosystems.
Avoid when
- If your project is not primarily based on PHP and would benefit more from direct integration with langchain in a supported language.
- Avoid if you require a framework that supports real-time embeddings without an intermediary AI, as LLPhant focuses heavily on OpenAI GPT-4.
Observed Jul 14, 2026 · Source: enrich:decision_facts
Verify the decision
Maintenance and security
Full trust report- Maintenance
- Active (26d since push)
- As of today
- Provenance
- Not a fork · Organization account
- As of today
- Security (OSV)
- No lockfile
- As of 1mo
Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.
Install
git clone https://github.com/LLPhant/LLPhantHow it fits your stack(4)
Typed graph edges - alternatives, integrations, successors, and dependencies. Ranked by relationship type, not raw GitHub stars.
Integrates
Relationship graph
Optional deeper exploration of typed edges and category neighbours.
Similar tools
Same-category neighbours not already linked as typed edges.
Evidence and technical details
Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.
Overview
LLPhant is inspired by Langchain and aims to provide extensive generative AI functionalities in PHP.
Capability facts
- Languages
- php
Source: github.language · Aug 21, 2026
Categories
Graph entities
Compatibility
Sourced claims from the README excerpt - not unsourced marketing copy.
Source: README excerpt (regex_v1, Aug 21, 2026)
- the learnings from using [LangChain](https://www.langchain.com/) and [LLamaIndex](https://www.llamaindex.ai/)Source link
Source: README excerpt (regex_v1, Aug 21, 2026)
[Atlas Cloud](https://www.atlascloud.ai/docs) and services compatible with the OpenAI API such as [LocalAI](https://localai.io/).Source link
Tags
README
LLPhant - The PHP library for Gen AI and Vector Databases
We designed this framework to be as simple as possible, while still providing you with the tools you need to build powerful apps. It is compatible with Symfony and Laravel.
We are working to expand the support of different LLMs. Right now, we are supporting OpenAI, Anthropic, Mistral, Ollama, LM Studio, Atlas Cloud and services compatible with the OpenAI API such as LocalAI. Ollama that can be used to run LLM locally such as Llama 2.
Atlas Cloud
LLPhant's AtlasCloudConfig targets the OpenAI-compatible Atlas Cloud endpoint
at https://api.atlascloud.ai/v1 and now defaults to the validated chat model
qwen/qwen3.5-flash.
The configuration also accepts any Atlas model slug exposed by your account via
the optional ATLASCLOUD_MODEL environment variable. Examples from the current
public Text model list include:
qwen/qwen3.5-flashqwen/qwen3.6-plusdeepseek-ai/deepseek-v4-flashdeepseek-ai/deepseek-v4-progoogle/gemini-3.5-flashzai-org/glm-4.7
We want to thank few amazing projects that we use here or inspired us:
- the learnings from using LangChain and LLamaIndex
- the excellent work from the OpenAI PHP SDK.
We can find great external resource on LLPhant (ping us to add yours):
- 🇫🇷 Construire un RAG en PHP avec la doc de Symfony, LLPhant et OpenAI : Tutoriel Complet
- 🇫🇷 Retour d'expérience sur la création d'un agent autonome
- 🇬🇧 Exploring AI riding an LLPhant
- 🇬🇧 Evaluating LLM and AI agents Outputs with String Comparison, Criteria & Trajectory Approaches
Get Started
Note
Requires PHP 8.1+
First, install LLPhant via the Composer package manager:
composer require theodo-group/llphant
In case you have not installed the GD extension, and you do not want to add it to your PHP setup,
you can use the --ignore-platform-req=ext-gd option
composer require theodo-group/llphant --ignore-platform-req=ext-gd
If you want to try the latest features of this library, you can use:
composer require theodo-group/llphant:dev-main
You may also want to check the requirements for OpenAI PHP SDK as it is the main client.
Documentation
Find documentation in the docs directory or online at https://llphant.readthedocs.org
Contributing
See CONTRIBUTING for details.
Contributors
Thanks to our contributors:
Sponsor
LLPhant is sponsored by :
For agents
This page has a .md twin and JSON over the API.