LLPhant
Basic Information
LLPhant is a PHP framework designed to let developers build generative AI applications and retrieval-augmented systems using multiple LLM providers. It provides a higher-level, opinionated API on top of model clients to simplify common tasks such as chat generation, image generation, vision input, speech transcription and translation, embeddings creation, vector storage and semantic search. The project targets PHP 8.1+ and integrates with popular web frameworks like Symfony and Laravel. It supports multiple model backends including OpenAI-compatible endpoints, Anthropic, Mistral, Ollama and LocalAI, and includes adapters for many vector stores. The repo bundles tooling for creating document pipelines, question-answering flows, tool/function invocation, chat sessions (memory), guardrails and evaluation strategies. Installation is via Composer so it can be included in PHP projects to accelerate building chatbots, RAG systems, agent-like automations and other generative AI features.