LLPhant/LLPhant

LLPhant - A comprehensive PHP Generative AI Framework using OpenAI GPT 4. Inspired by Langchain

What it solves

LLPhant provides a simplified framework for PHP developers to integrate Generative AI and vector databases into their applications, removing the need to switch to other languages like Python for AI development.

How it works

It acts as a library that connects PHP applications to various Large Language Models (LLMs) and vector databases. It supports a wide range of providers including OpenAI, Anthropic, Mistral, Ollama, LM Studio, and Atlas Cloud, as well as any service compatible with the OpenAI API (such as LocalAI).

Who it’s for

PHP developers, specifically those using frameworks like Symfony and Laravel, who want to build AI-powered applications.

Highlights

  • Support for multiple LLM providers (OpenAI, Anthropic, Mistral, etc.).
  • Compatibility with Symfony and Laravel.
  • Ability to run LLMs locally via Ollama or LM Studio.
  • Integration with vector databases for RAG (Retrieval-Augmented Generation) workflows.