└── README.md /README.md: -------------------------------------------------------------------------------- 1 | # PHP AI & LLM Ecosystem 2 | 3 | AI and LLM integrations is a broad and growing topic in PHP ecosystem, with this listing we try to share an overview 4 | of frameworks and libraries useful to work with. 5 | 6 | Projects listed need to have an OSS license, be stable or under active development and support Composer installation. 7 | 8 | If you run or know a project, that should be added to this list, please open an issue or pull request. 9 | 10 | ## LLM & Agent Frameworks 11 | 12 | * [AutoPHP](https://github.com/LLPhant/AutoPHP) 13 | * [Instructor for PHP](https://github.com/cognesy/instructor-php) 14 | * [LLM Agents PHP SDK](https://github.com/llm-agents-php/agents) 15 | * [LLM Chain](https://github.com/php-llm/llm-chain) 16 | * [Symfony Integration](https://github.com/php-llm/llm-chain-bundle) 17 | * [LLPhant](https://github.com/llphant/llphant) 18 | * [Modelflow AI](https://github.com/modelflow-ai/.github) 19 | * [Prism](https://github.com/prism-php/prism) 20 | * [Neuron AI](https://github.com/inspector-apm/neuron-ai) 21 | 22 | ## LLM Integrations 23 | 24 | * [DeepSeek PHP Client](https://github.com/deepseek-php/deepseek-php-client) 25 | * Ollama 26 | * [Ollama PHP](https://github.com/evowareio/ollama-php) 27 | * [Ollama PHP Library](https://github.com/ArdaGnsrn/ollama-php) 28 | * OpenAI 29 | * [OpenAI API Client in PHP](https://github.com/orhanerday/open-ai) 30 | * [OpenAI PHP Client](https://github.com/openai-php/client) 31 | * [Symfony Integration](https://github.com/openai-php/symfony) 32 | * [Laravel Integration](https://github.com/openai-php/laravel) 33 | * [OpenRouter](https://github.com/moe-mizrak/laravel-openrouter) 34 | 35 | ## Model Context Protocol 36 | 37 | * [Drupal MCP Module](https://git.drupalcode.org/project/mcp) 38 | * [Laravel MCP](https://github.com/mohamedahmed01/laravel-mcp-sdk) 39 | * [Laravel MCP Client](https://github.com/scriptoshi/laravel-mcp-client) 40 | * [Logiscape MCP SDK](https://github.com/logiscape/mcp-sdk-php) 41 | * [PHP LLM MCP SDK](https://github.com/php-llm/mcp-sdk) 42 | 43 | ## Vector Store Integrations 44 | 45 | * [ChromaDB PHP](https://github.com/CodeWithKyrian/chromadb-php) 46 | * [pgvector-php](https://github.com/pgvector/pgvector-php) 47 | * [Pinecone PHP](https://github.com/probots-io/pinecone-php) 48 | * [Qdrant PHP Client](https://github.com/hkulekci/qdrant-php) 49 | 50 | ## Model Runtimes 51 | 52 | * [ONNX Runtime PHP](https://github.com/ankane/onnxruntime-php) 53 | * [TransformersPHP](https://github.com/CodeWithKyrian/transformers-php) 54 | 55 | ## Machine Learning 56 | 57 | * [RubixML](https://github.com/RubixML/ML) 58 | * [PHP-ML](https://gitlab.com/php-ai/php-ml) 59 | 60 | ## Miscellaneous 61 | 62 | * [Context Generator for LLM](https://github.com/butschster/context-generator) 63 | * [Fabric Pattern](https://github.com/php-llm/fabric-pattern) 64 | --------------------------------------------------------------------------------