ai-agent

LLPhant: AI Power

Get a comprehensive PHP AI framework with LLPhant, for startup founders to build generative AI models.
1,702 stars168 forksPHPGuide quality 8/10Updated 7/26/2026100% free · open source
What it does

LLPhant is a PHP framework that utilizes OpenAI's GPT 4 to generate human-like text, allowing developers to build custom AI-powered applications

When to use it
  • Building a chatbot that requires advanced natural language understanding
  • Generating content, such as articles or product descriptions, using AI
  • Creating a conversational interface for a web or mobile application
Ready-to-paste prompt
$llphant->generate('Write a product description for a new smartwatch, including its features and benefits')
Heads up: You need to have an OpenAI API key to use LLPhant, which requires signing up for an account on the OpenAI website and replacing 'YOUR_API_KEY' in the 'config.php' file with your actual key
Saves to your device
Use with Claude
New

Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.

🔑 Needs an API key

Works after you add credentials — the setup agent will ask you for them.

Try it instantly — no install
Claude Code
mkdir -p ~/.claude/skills/llphant && curl -fsSL https://workflowstacks.com/api/skills/llphant/claude-skill -o ~/.claude/skills/llphant/SKILL.md
Open in another AI app

Opens the app with this repo with the prompt ready to go — no copy-paste needed.

Connect the whole catalog (MCP)
claude mcp add --transport http workflowstacks https://workflowstacks.com/api/mcp

Adds a WorkflowStacks connector to Claude Code: search and load any skill here by chatting.

How LLPhant: AI Power works
Codeflow
Free to inspect

LLPhant: AI Power is a medium PHP project (~15k lines across 244 code files, plus 116 test files). Setup is light: runs with Docker. Last commit a month ago, MIT license, has a test suite.

Size
Medium codebase
~15k lines · 244 code files · ~2 h to skim
Setup
Light setup
Runs with Docker.
Runs on
PHP · Docker
No API keys detected
PHP 100%
Where to start reading
  1. 1
    README.md
    Start here — what it does and how to install it
  2. 2
    AGENTS.md
    The instructions the AI actually follows
  3. 3
    composer.json
    Dependencies and the commands it exposes
  4. 4
    src/Evaluation/README.md
    Inside src/ — the main logic begins here
  5. 5
    examples/TermwindCliOutputUtils/TermwindCLIOutputUtils.php
    A worked example — copy this to get going
What's in each folder
src/Core code — the actual logic164 files
examples/Examples you can copy124 files
docs/Documentation26 files
devx/Folder13 files
docker/Deployment / infrastructure8 files
types/Data models & types1 files
tests/Tests — proof it works137 files
.github/CI / automation (GitHub Actions)4 files
READMEHas testsDocumentedCI checksDocker readyExamples includedMIT licenseUpdated 1 mo ago
Quick Actions
Details
Creator
LLPhant
Language
PHP
Category
ai-agent
Published
7/31/2023

Are you the creator of this tool? Claim your listing → and earn 85% of every sale.