百科.dev
全部条目AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
L

LLPhant

> 后端框架
开源

LLPhant - 一个基于 OpenAI GPT 4 的全面性 PHP 生成式 AI 框架。受 LangChain 启发

1.7K stars0 点赞1 次浏览
访问官网GitHub

工具介绍

LLPhant - 一个基于 OpenAI GPT 4 的全面性 PHP 生成式 AI 框架。受 LangChain 启发

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, llmman, 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.

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:

bash
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

bash
composer require theodo-group/llphant --ignore-platform-req=ext-gd

If you want to try the latest features of this library, you can use:

bash
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 :

  • AGO. Generative AI customer support solutions.
  • Theodo a leading digital agency building web application with Generative AI.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

PHPagentautophpembeddingsgenai

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类后端框架
定价开源

> 相关工具

N
Node.js
基于 V8 的 JavaScript 运行时
D
Django
Python 高级 Web 框架
S
Spring Boot
Java 生态主流微服务框架