{"id":106615,"url":"https://github.com/apphp/awesome-php-ml","name":"awesome-php-ml","description":"The most comprehensive curated list of Machine Learning, Artificial Intelligence, NLP, LLM, and Data Science libraries for PHP","projects_count":187,"last_synced_at":"2026-07-17T15:00:35.132Z","repository":{"id":330346704,"uuid":"1122481530","full_name":"apphp/awesome-php-ml","owner":"apphp","description":"The most comprehensive curated list of Machine Learning, Artificial Intelligence, NLP, LLM, and Data Science libraries for PHP","archived":false,"fork":false,"pushed_at":"2026-06-25T14:04:02.000Z","size":225,"stargazers_count":115,"open_issues_count":0,"forks_count":9,"subscribers_count":4,"default_branch":"main","last_synced_at":"2026-06-29T05:03:08.304Z","etag":null,"topics":["ai","awesome-list","llm","machine-learning","ml","nlp","php","php-ai","php-ml"],"latest_commit_sha":null,"homepage":"https://apphp.github.io/awesome-php-ml/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/apphp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE-OF-CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"apphp"}},"created_at":"2025-12-24T20:37:16.000Z","updated_at":"2026-06-25T14:05:56.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/apphp/awesome-php-ml","commit_stats":null,"previous_names":["apphp/awesome-php-ml"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/apphp/awesome-php-ml","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apphp%2Fawesome-php-ml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apphp%2Fawesome-php-ml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apphp%2Fawesome-php-ml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apphp%2Fawesome-php-ml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/apphp","download_url":"https://codeload.github.com/apphp/awesome-php-ml/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apphp%2Fawesome-php-ml/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35585715,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-17T02:00:06.162Z","response_time":116,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"created_at":"2026-01-16T03:46:03.799Z","updated_at":"2026-07-17T15:00:35.133Z","primary_language":null,"list_of_lists":false,"displayable":true,"categories":["Resources","Computer Vision, Image \u0026 Video Processing","LLMs \u0026 AI APIs","Tools \u0026 Utilities","Natural Language Processing","Interop \u0026 Model Serving","Embeddings \u0026 Vector Search","Laravel \u0026 Framework Integrations","How to use this list","Symfony \u0026 Framework Integrations","Data Processing","Math, Statistics \u0026 Linear Algebra","Machine Learning","Deep Learning \u0026 Neural Networks","Core ML Infrastructure","WordPress Integrations","Support this project"],"sub_categories":["General","Recommended core stack","Tokenizers \u0026 Prompt Utilities","ML / AI Platforms","Search \u0026 vector search","Example \"recipes\"","LLM \u0026 AI clients","Data \u0026 DTO tools","Speech \u0026 Text-to-Speech","Courses \u0026 Tutorials","Learning Resources","Model execution \u0026 runtimes","Ecosystems","Agents \u0026 Tooling / MCP","Localization \u0026 Translation","Monitoring / Cost Control","MCP / Tooling","Prompt Management","Numerical computing \u0026 tensors","AI-native Frameworks"],"readme":"# Awesome PHP Machine Learning \u0026 AI\n\n[![Awesome](https://awesome.re/badge.svg)](https://awesome.re)\n[![GitHub stars](https://img.shields.io/github/stars/apphp/awesome-php-ml?style=social)](https://github.com/apphp/awesome-php-ml)\n[![Resources](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/apphp/awesome-php-ml/main/badge/resources.json)](https://github.com/apphp/awesome-php-ml#readme)\n[![Last commit](https://img.shields.io/github/last-commit/apphp/awesome-php-ml)](https://github.com/apphp/awesome-php-ml/commits)\n[![License](https://img.shields.io/badge/license-MIT-green)](https://github.com/apphp/awesome-php-ml/blob/main/LICENSE)\n[![Link Check](https://github.com/apphp/awesome-php-ml/actions/workflows/link-check.yml/badge.svg)](https://github.com/apphp/awesome-php-ml/actions/workflows/link-check.yml)\n\nThe most comprehensive curated list of **Machine Learning, Artificial Intelligence, NLP, LLM and Data Science libraries for PHP**.\n\nInspired by [awesome-php](https://github.com/ziadoz/awesome-php) and the broader **Awesome** ecosystem.\n\n\u003e **Goal:** make it easy to build intelligent systems with PHP — from classic ML to modern LLM-based workflows.\n\nWant to add a project? See the [Contributing](#contributing) section below for inclusion criteria and submission guidance.\n\n## Contents\n\n- [Contents](#contents)\n- [Requirements](#requirements)\n- [What is this?](#what-is-this)\n- [How to use this list](#how-to-use-this-list)\n- [Quick Start](#quick-start)\n- [Example \"recipes\"](#example-recipes)\n- [Recommended core stack](#recommended-core-stack)\n- [Legend](#legend)\n- [Machine Learning](#machine-learning)\n- [Deep Learning \u0026 Neural Networks](#deep-learning--neural-networks)\n- [Natural Language Processing](#natural-language-processing)\n- [Computer Vision, Image \u0026 Video Processing](#computer-vision-image--video-processing)\n- [Math, Statistics \u0026 Linear Algebra](#math-statistics--linear-algebra)\n- [Core ML Infrastructure](#core-ml-infrastructure)\n- [LLMs \u0026 AI APIs](#llms--ai-apis)\n- [Embeddings \u0026 Vector Search](#embeddings--vector-search)\n- [Data Processing](#data-processing)\n- [Interop \u0026 Model Serving](#interop--model-serving)\n- [Tools \u0026 Utilities](#tools--utilities)\n- [Laravel \u0026 Framework Integrations](#laravel--framework-integrations)\n- [Symfony \u0026 Framework Integrations](#symfony--framework-integrations)\n- [WordPress Integrations](#wordpress-integrations)\n- [Resources](#resources)\n- [Support this project](#support-this-project)\n\n---\n\n## Requirements\n\n**PHP Version Requirements:**\n- **Minimum**: PHP 7.4+ (most libraries already support PHP 8.1+/8.2+)\n- **Recommended**: PHP 8.1+ for best performance and features\n- **Latest features**: PHP 8.2+ for some cutting-edge libraries\n\n**Common dependencies:**\n- **Extensions**: `mbstring`, `curl`, `json`, `gd` (for image processing)\n- **Optional**: `redis`, `pdo_pgsql` (for vector search), `ffi` (for native bindings)\n\n**Memory considerations:**\n- **Basic ML**: 256MB+ RAM\n- **Neural networks**: 512MB+ RAM  \n- **Large datasets**: 1GB+ RAM recommended\n\n---\n\n## What is this?\n\n- Curated list of **PHP libraries and tools** for Machine Learning, AI, NLP, LLMs and Data Science.\n- Focused on **code-first resources**: packages, SDKs, frameworks, and building blocks.\n- Aimed at **PHP developers** who want to add intelligent features to existing apps or build new AI-powered systems.\n\n## How to use this list\n\n- **Classic ML / traditional models** – start with [php-ai/php-ml](https://gitlab.com/php-ai/php-ml) and [RubixML/RubixML](https://github.com/RubixML/RubixML).\n- **LLM-powered apps \u0026 agents** – see [LLMs \u0026 AI APIs](#llms--ai-apis), [Embeddings \u0026 Vector Search](#embeddings--vector-search), and framework integrations (Laravel/Symfony).\n- **RAG (Retrieval-Augmented Generation)** – combine [php-rag](https://github.com/mzarnecki/php-rag) with vector databases like [pgvector](https://github.com/pgvector/pgvector) or [Meilisearch](https://github.com/meilisearch/meilisearch-php).\n- **Numerical computing \u0026 math** – explore [Core ML Infrastructure](#core-ml-infrastructure) for tensors and matrices, and [Math, Statistics \u0026 Linear Algebra](#math-statistics--linear-algebra) for statistics and related math.\n- **Production integration** – use [Interop \u0026 Model Serving](#interop--model-serving) and framework integrations to wire models into real apps.\n\n### Quick Start\n\n**For beginners new to PHP ML/AI:**\n\n```bash\n# Install a core ML library\ncomposer require rubix/ml\ncomposer require php-ai/phpml\n\n# Install LLM client\ncomposer require openai-php/client\n\n# Install vector search for RAG\ncomposer require llphant/llphant\n```\n\n**Basic examples:**\n- **Classification**: Use `RubixML/RubixML` with `KNearestNeighbors` for simple classification tasks\n- **LLM integration**: Use `openai-php/client` to call GPT models from PHP\n- **Text analysis**: Use `php-ai/php-ml` for sentiment analysis and tokenization\n- **Vector search**: Use `LLPhant/LLPhant` with `pgvector` for semantic search\n\n### Example \"recipes\"\n\n- **I want to build a Laravel RAG app**  \n  Use an LLM client like 🌟 [openai-php/client](https://github.com/openai-php/client), embeddings + vector search via 🌟 [LLPhant/LLPhant](https://github.com/LLPhant/LLPhant) with 🌟 [pgvector/pgvector](https://github.com/pgvector/pgvector) or 🌟 [meilisearch/meilisearch-php](https://github.com/meilisearch/meilisearch-php), and orchestrate agents/RAG flows with 🌟 [neuron-core/neuron-ai](https://github.com/neuron-core/neuron-ai), integrating into Laravel using 🌟 [openai-php/laravel](https://github.com/openai-php/laravel) and the packages under [Laravel \u0026 Framework Integrations](#laravel--framework-integrations).\n\n- **I only need translation or vision**  \n  For translation, see 🌟 [deepl-php](https://github.com/DeepLcom/deepl-php) and 🌟 [googleapis/google-cloud-php](https://github.com/googleapis/google-cloud-php) under [Interop \u0026 Model Serving](#interop--model-serving). For image/vision workloads, combine [Computer Vision, Image \u0026 Video Processing](#computer-vision-image--video-processing) libraries with cloud AI services via 🌟 [symfony/ai](https://github.com/symfony/ai) or [openai-php/client](https://github.com/openai-php/client) from [LLMs \u0026 AI APIs](#llms--ai-apis).\n\n### Recommended core stack\n\nThese are opinionated defaults you can reach for when you just want something that works in production.\n\n- **General ML:** 🌟 [RubixML/RubixML](https://github.com/RubixML/RubixML) for end-to-end ML pipelines.\n- **LLM clients:** 🌟 [openai-php/client](https://github.com/openai-php/client) and 🌟 [google-gemini-php/client](https://github.com/google-gemini-php/client) for major model providers.\n- **Embeddings \u0026 vector search:** 🌟 [LLPhant/LLPhant](https://github.com/LLPhant/LLPhant) with 🌟 [pgvector/pgvector](https://github.com/pgvector/pgvector), 🌟 [pgvector/pgvector-php](https://github.com/pgvector/pgvector-php), 🌟 [meilisearch/meilisearch-php](https://github.com/meilisearch/meilisearch-php) or 🌟 [algolia/algoliasearch-client-php](https://github.com/algolia/algoliasearch-client-php).\n- **Data processing:** 🌟 [flow-php/flow](https://github.com/flow-php/flow) for typed ETL-style pipelines.\n- **Interop with Python ML:** 🌟 [swoole/phpy](https://github.com/swoole/phpy) to call into the Python ecosystem when needed.\n\n## Legend\n\nNot all projects are tagged yet – we're gradually adding markers as the ecosystem evolves. Treat them as rough guidance, not strict rules.\n\n- `🌟` – widely used / production-ready projects\n- `🧪` – experimental or research-oriented projects\n- `⚠️` – projects with limited maintenance, older APIs, or niche usage; review before using in new projects\n\n---\n\n## Machine Learning\n\n*Core PHP libraries for supervised/unsupervised learning, classification, regression, and clustering.*\n\n- 🌟 [CodeWithKyrian/transformers-php](https://github.com/CodeWithKyrian/transformers-php \"Link to resource\") – ![GitHub stars](https://img.shields.io/github/stars/CodeWithKyrian/transformers-php?style=social) A PHP toolkit for running Hugging Face–style Transformer models with ONNX Runtime (text generation, summarization, classification, etc.)\n- ⚠️ [danielefavi/brainy](https://github.com/danielefavi/brainy \"Link to resource\") – Simple PHP class for neural networks and machine learning\n- [dr-que/polynomial-regression](https://github.com/jbboehr/PolynomialRegression.php \"Link to resource\") – Polynomial regression for PHP\n- ⚠️ [pecl/svm](https://pecl.php.net/package/svm/0.2.3 \"Link to resource\") – PHP extension providing bindings to the LIBSVM library for Support Vector Machine classification and regression\n- 🌟 [php-ai/php-ml](https://gitlab.com/php-ai/php-ml \"Link to resource\") – Core machine learning algorithms for PHP\n- [php-ai/php-ml-examples](https://github.com/php-ai/php-ml-examples \"Link to resource\") – Practical examples for PHP-ML\n- [sphamster/bayes](https://github.com/sphamster/bayes \"Link to resource\") – Naive Bayes classifier implementation in PHP for probabilistic classification tasks\n\n---\n\n## Deep Learning \u0026 Neural Networks\n\n*PHP libraries for neural networks, deep learning architectures, and advanced learners built on tensors.*\n\n- 🧪 [rindow/rindow-neuralnetworks](https://github.com/rindow/rindow-neuralnetworks \"Link to resource\") – Deep learning framework for PHP providing neural network layers, training utilities, and GPU/accelerated backends via the Rindow numerical computing ecosystem\n- 🌟 [RubixML/RubixML](https://github.com/RubixML/RubixML \"Link to resource\") – ![GitHub stars](https://img.shields.io/github/stars/RubixML/RubixML?style=social) High-level ML framework with pipelines and datasets\n\n---\n\n## Natural Language Processing\n\n*Text processing, tokenization, language detection, sentiment analysis and other NLP tasks in PHP.*\n\n- ⚠️ [angeloskath/php-nlp-tools](https://github.com/angeloskath/php-nlp-tools \"Link to resource\") – Natural Language Processing tools\n- 🌟 [ankane/mitie-php](https://github.com/ankane/mitie-php \"Link to resource\") – PHP bindings for the MITIE NLP library providing named entity recognition (NER), text classification, and feature extraction using pre-trained statistical models\n- [davmixcool/php-sentiment-analyzer](https://github.com/davmixcool/php-sentiment-analyzer \"Link to resource\") – Lightweight PHP library for sentiment analysis using lexical rules\n- [friteuseb/nlp_tools](https://github.com/friteuseb/nlp_tools \"Link to resource\") – Extension for NLP methods and text analysis\n- ⚠️ [googlei18n/myanmar-tools](https://github.com/googlei18n/myanmar-tools \"Link to resource\") – Myanmar text encoding detection and Zawgyi ↔ Unicode conversion using a trained model (includes PHP support)\n- ⚠️ [patrickschur/language-detection](https://github.com/patrickschur/language-detection \"Link to resource\") – Language detection library\n- 🧪 [RubixML/Sentiment](https://github.com/RubixML/Sentiment \"Link to resource\") – Example project demonstrating sentiment analysis with a neural network (IMDB reviews) using Rubix ML in PHP\n- 🧪 [SerafimArts/TF-IDF](https://github.com/SerafimArts/TF-IDF \"Link to resource\") – Simple TF-IDF implementation for keyword extraction and text relevance scoring in PHP\n- [voku/stop-words](https://github.com/voku/stop-words \"Link to resource\") – Stop word lists for many languages\n- [yooper/php-text-analysis](https://github.com/yooper/php-text-analysis \"Link to resource\") – Sentiment analysis and NLP tools\n\n---\n\n## Computer Vision, Image \u0026 Video Processing\n\n*Image manipulation, preprocessing, and computer vision workloads from PHP.*\n\n- 🧪 [aschmelyun/subvert](https://github.com/aschmelyun/subvert \"Link to resource\") - Generate subtitles, summaries, and chapters from videos in seconds\n- 🧪 [b7s/fluentvision](https://github.com/b7s/fluentvision \"Link to resource\") – Fluent PHP API for computer vision with YOLO and NanoDet backends, supporting object detection, segmentation, classification, image/video annotation, and open-vocabulary detection\n- 🌟 [Intervention/image](https://github.com/Intervention/image \"Link to resource\") – ![GitHub stars](https://img.shields.io/github/stars/Intervention/image?style=social) Image manipulation library for CV preprocessing\n- [jcupitt/vips](https://github.com/jcupitt/libvips \"Link to resource\") – Fast image processing library with PHP bindings\n- 🧪 [mailmug/php-dlib](https://github.com/mailmug/php-dlib \"Link to resource\") – PHP extension for Dlib, supporting face detection, facial landmarks, face recognition descriptors, CNN detection, and clustering\n- 🧪 [php-opencv/php-opencv](https://github.com/php-opencv/php-opencv \"Link to resource\") – OpenCV bindings for PHP\n\n---\n\n## Math, Statistics \u0026 Linear Algebra\n\n*Numerical computing, matrix operations, statistics, and related math foundations for ML and data science in PHP.*\n\n- 🌟 [brick/math](https://github.com/brick/math \"Link to resource\") – ![GitHub stars](https://img.shields.io/github/stars/brick/math?style=social) Arbitrary-precision arithmetic for PHP (BigInteger, BigDecimal, BigRational)\n- 🌟 [Hi-Folks/statistics](https://github.com/Hi-Folks/statistics \"Link to resource\") – ![GitHub stars](https://img.shields.io/github/stars/Hi-Folks/statistics?style=social) Probability distributions and statistical functions library for PHP\n- 🌟 [markrogoyski/math-php](https://github.com/markrogoyski/math-php \"Link to resource\") – ![GitHub stars](https://img.shields.io/github/stars/markrogoyski/math-php?style=social) Math library for linear algebra, statistics, and calculus\n- [mcordingley/LinearAlgebra](https://github.com/mcordingley/LinearAlgebra \"Link to resource\") – Stand-alone linear algebra library\n- ⚠️ [NumPHP/NumPHP](https://github.com/NumPHP/NumPHP \"Link to resource\") – Math library for scientific computing\n\n---\n\n## Core ML Infrastructure\n\n*Low-level building blocks for numerical computing, tensors, and model execution in PHP.*\n\n### Numerical computing \u0026 tensors\n\n- 🌟 [RubixML/Tensor](https://github.com/RubixML/Tensor \"Link to resource\") – ![GitHub stars](https://img.shields.io/github/stars/RubixML/Tensor?style=social) N-dimensional tensors for numerical computing\n- 🌟 [RubixML/numpower](https://github.com/RubixML/numpower \"Link to resource\") – High-performance numerical computing library inspired by NumPy\n- 🧪 [rindow/rindow-math-matrix](https://github.com/rindow/rindow-math-matrix \"Link to resource\") – Foundational package for scientific matrix operations\n- 🧪 [phpmlkit/ndarray](https://github.com/phpmlkit/ndarray \"Link to resource\") – Multidimensional array (ndarray) implementation for PHP inspired by NumPy, useful for numerical computing and machine learning workloads\n- 🌟 [krakjoe/ort](https://github.com/krakjoe/ort \"Link to resource\") – – ![GitHub stars](https://img.shields.io/github/stars/krakjoe/ort?style=social) PHP extension for high-performance tensor mathematics, with optional ONNX Runtime integration for model inference\n\n### Model execution \u0026 runtimes\n\n- 🌟 [ankane/onnxruntime-php](https://github.com/ankane/onnxruntime-php \"Link to resource\") – ![GitHub stars](https://img.shields.io/github/stars/ankane/onnxruntime-php?style=social) Run ONNX models from PHP\n- 🧪 [DisplaceTech/ext-infer](https://github.com/DisplaceTech/ext-infer \"Link to resource\") – PHP extension for local in-process LLM inference with GGUF models via llama.cpp, supporting chat, embeddings, and reasoning models without Python, remote APIs, or sidecar services \n- [FFI](https://www.php.net/manual/en/book.ffi.php \"Link to resource\") – Native C/C++ bindings in PHP for high-performance ML inference\n- [phpmlkit/onnxruntime](https://github.com/phpmlkit/onnxruntime \"Link to resource\") – High-performance ONNX Runtime bindings for PHP using FFI, enabling inference of models from PyTorch, TensorFlow, scikit-learn and other frameworks\n\n### Interoperability\n\n- 🌟 [swoole/phpy](https://github.com/swoole/phpy \"Link to resource\") – ![GitHub stars](https://img.shields.io/github/stars/swoole/phpy?style=social) Bridge for calling Python from PHP via a runtime bridge\n\n### Ecosystems\n\n- [phpmlkit (GitHub org)](https://github.com/phpmlkit \"Link to resource\") – Collection of high-performance ML infrastructure libraries for PHP, including NDArray (NumPy-like arrays) and ONNX Runtime bindings\n\n---\n\n## LLMs \u0026 AI APIs\n\n*Clients, SDKs, and frameworks for calling hosted LLMs and other AI providers from PHP.*\n\n- [aiaccess/ai-access](https://github.com/aiaccess/ai-access \"Link to resource\") – Unified PHP AI client providing a consistent interface for multiple providers (OpenAI, Anthropic, Gemini, DeepSeek, Grok) with support for chat, embeddings, batch processing, and provider switching\n- [aimeos/prisma](https://github.com/aimeos/prisma \"Link to resource\") – ![GitHub stars](https://img.shields.io/github/stars/aimeos/prisma?style=social) Lightweight PHP package providing a unified interface for text, image, audio, and video AI providers\n- 🧪 [adrienbrault/instructrice](https://github.com/adrienbrault/instructrice \"Link to resource\") – Typed LLM outputs in PHP with flexible schema support (OpenAI, Claude, Gemini, etc.) and type-safe handling of structured responses\n- [ArdaGnsrn/ollama-php](https://github.com/ArdaGnsrn/ollama-php \"Link to resource\") – A PHP client library for the Ollama LLM server, enabling completions, chat, model management, and embeddings via Ollama's API\n- [Clarifai/clarifai-php-grpc](https://github.com/Clarifai/clarifai-php-grpc \"Link to resource\") – Official Clarifai gRPC PHP client for accessing Clarifai's AI APIs (vision and text recognition)\n- [cognesy/instructor-php](https://github.com/cognesy/instructor-php \"Link to resource\") – Structured-output helper for LLM responses\n- [deepseek-php/deepseek-php-client](https://github.com/deepseek-php/deepseek-php-client \"Link to resource\") – PHP client library for integrating with the DeepSeek AI API, providing a fluent API for model queries, streaming results, and support for multiple HTTP clients and models\n- 🌟 [dtyq/magic](https://github.com/dtyq/magic \"Link to resource\") – ![GitHub stars](https://img.shields.io/github/stars/dtyq/magic?style=social) Open-source enterprise AI agent platform with generalist agents, workflow orchestration, IM integration, collaborative office features, and support for multiple LLMs\n- [elastic/elasticsearch-chatgpt-php](https://github.com/elastic/elasticsearch-chatgpt-php \"Link to resource\") – Experimental PHP library that uses ChatGPT to translate natural language into Elasticsearch DSL queries and perform semantic search over your indices\n- [FunkyOz/mulagent](https://github.com/FunkyOz/mulagent \"Link to resource\") – Multi-agent orchestration framework for LLM applications\n- 🌟 [google-gemini-php/client](https://github.com/google-gemini-php/client \"Link to resource\") – ![GitHub stars](https://img.shields.io/github/stars/google-gemini-php/client?style=social) Gemini PHP is a community-maintained PHP API client that allows you to interact with the Gemini AI API\n- ⚠️ [HosonoDE/EasyAI-PHP](https://github.com/HosonoDE/EasyAI-PHP \"Link to resource\") – High-level AI integration library for PHP that simplifies using LLMs\n- 🧪 [carmelosantana/php-agents](https://github.com/carmelosantana/php-agents) – PHP framework for building AI agents with tool use, provider abstraction and multi-model support\n- 🌟 [kambo-1st/langchain-php](https://github.com/kambo-1st/langchain-php \"Link to resource\") ![GitHub stars](https://img.shields.io/github/stars/kambo-1st/langchain-php?style=social) A PHP port of the LangChain framework for building composable LLM-powered applications\n- 🌟 [llm-agents-php/agents](https://github.com/llm-agents-php/agents \"Link to resource\") – ![GitHub stars](https://img.shields.io/github/stars/llm-agents-php/agents?style=social) LM Agents is a PHP library for building and managing Language Model (LLM) based agents\n- [llm-agents-php/prompt-generator](https://github.com/llm-agents-php/prompt-generator \"Link to resource\") – Prompt generator for LLM agents with interceptors\n- [ModelFlow-AI (GitHub org)](https://github.com/modelflow-ai \"Link to resource\") – Collection of PHP packages for unified access to AI models, embeddings, and chat (OpenAI, Mistral, Ollama)\n- [mozex/anthropic-php](https://github.com/mozex/anthropic-php \"Link to resource\") – Community-maintained PHP API client for the Anthropic (Claude) AI API, supporting messages, streaming, tool use, and batch processing\n- [mzarnecki/php-rag](https://github.com/mzarnecki/php-rag \"Link to resource\") – PHP RAG toolkit for connecting vector search and LLMs in retrieval-augmented workflows\n- 🌟 [openai-php/client](https://github.com/openai-php/client \"Link to resource\") – ![GitHub stars](https://img.shields.io/github/stars/openai-php/client?style=social) Official OpenAI PHP client\n- 🌟 [orhanerday/open-ai](https://github.com/orhanerday/open-ai \"Link to resource\") – ![GitHub stars](https://img.shields.io/github/stars/orhanerday/open-ai?style=social) Popular OpenAI PHP SDK\n- 🧪 [runapi-ai/gpt-image-2-php](https://github.com/runapi-ai/gpt-image-2-php \"Link to resource\") – PHP SDK for GPT Image 2 text-to-image and image editing workflows on RunAPI\n- [prism-php/bedrock](https://github.com/prism-php/bedrock \"Link to resource\") – AWS Bedrock provider for the Prism PHP framework, adding Bedrock LLM and embeddings support to Laravel Prism integrations\n- [sarfraznawaz2005/ai-team](https://github.com/sarfraznawaz2005/ai-team \"Link to resource\") – Package to build and run collaborative teams of AI members with role/task assignments\n- [SearchAugmentedLLM](https://github.com/EliasPereirah/SearchAugmentedLLM \"Link to resource\") – PHP search-augmented LLM tool that performs web search, extracts, chunks and ranks content to provide context for LLM responses (ideal for RAG applications)\n- [skito/aipi-php](https://github.com/skito/aipi-php \"Link to resource\") – Universal API client for common AI models in PHP, offering a unified interface to interact with multiple LLM providers\n- [softcreatr/php-mistral-ai-sdk](https://github.com/SoftCreatR/php-mistral-ai-sdk \"Link to resource\") – PHP SDK for the Mistral AI API, providing an easy wrapper to call Mistral's LLM and AI endpoints (chat, embeddings, fine-tuning etc.)\n- [takaaki-mizuno/php-llm-json-adapter](https://github.com/takaaki-mizuno/php-llm-json-adapter \"Link to resource\") – Adapter to normalize and return LLM responses as structured JSON using JSON Schema, with support for multiple providers (OpenAI, Gemini, Bedrock, Ollama)\n- [thojou/php-llm-documents](https://github.com/thojou/php-llm-documents \"Link to resource\") – PHP library for LLM-based document processing (splitting, embeddings, vector store, search) inspired by LangChain/DocTran\n- [utopia-php/agents](https://github.com/utopia-php/agents \"Link to resource\") – Simple, lightweight PHP library for AI agent orchestration with multi-provider support (OpenAI, Anthropic, Deepseek, Perplexity, XAI)\n\n### AI-native Frameworks\n\n- 🧪 [univeros/framework](https://github.com/univeros/framework \"Link to resource\") – Agent-native PHP framework with deterministic scaffolding, MCP server, machine-readable CLI, reversible code generation, and AI-oriented development primitives for building APIs and applications\n\n### Agents \u0026 Tooling / MCP\n\n- [logiscape/mcp-sdk-php](https://github.com/logiscape/mcp-sdk-php \"Link to resource\") – PHP SDK for building Model Context Protocol (MCP) clients and servers to connect LLMs with external tools and services\n- 🧪 [manuelkiessling/php-ai-tool-bridge](https://github.com/manuelkiessling/php-ai-tool-bridge \"Link to resource\") – PHP library for defining AI “tool functions” that let LLMs interact with application code and external services using structured JSON schemas\n- 🧪 [neuron-core/llm-classifier](https://github.com/neuron-core/llm-classifier \"Link to resource\") – Train lightweight classifiers that estimate prompt difficulty and route requests to the most cost-effective LLM, enabling intelligent model selection and inference cost optimization\n- 🧪 [neuron-core/youtube-ai-agent](https://github.com/neuron-core/youtube-ai-agent \"Link to resource\") – Example PHP AI agent built with Neuron for summarizing YouTube videos and generating content from them\n- [prism-php/relay](https://github.com/prism-php/relay \"Link to resource\") – MCP client for Prism that lets PHP/Laravel AI agents connect to external Model Context Protocol servers and use their tools\n- 🧪 [symfony/mcp-sdk](https://github.com/symfony/mcp-sdk \"Link to resource\") – Symfony's experimental PHP SDK for building Model Context Protocol (MCP) clients and servers\n\n### Speech \u0026 Text-to-Speech\n\n- [b7s/fluentvox](https://github.com/b7s/fluentvox \"Link to resource\") – Fluent PHP API for state-of-the-art text-to-speech and voice cloning (Resemble AI's Chatterbox), with CLI, GPU acceleration, and multilingual support\n- [b7s/whisper-php](https://github.com/b7s/whisper-php \"Link to resource\") – PHP wrapper/client for Whisper speech-to-text (ASR), enabling audio transcription via Whisper models\n\n### Tokenizers \u0026 Prompt Utilities\n\n- [CodeWithKyrian/tokenizers-php](https://github.com/CodeWithKyrian/tokenizers-php \"Link to resource\") – PHP bindings for Hugging Face Tokenizers, enabling fast tokenization for transformer and LLM models\n- [Gioni06/GPT3Tokenizer](https://github.com/Gioni06/GPT3Tokenizer \"Link to resource\") – PHP tokenizer compatible with GPT-3 style models\n- [HelgeSverre/toon-php](https://github.com/HelgeSverre/toon-php \"Link to resource\") – PHP implementation of TOON, a compact data format for reducing token usage when sending structured data to LLMs\n- [RahulDey12/tiktoken-php](https://github.com/RahulDey12/tiktoken-php \"Link to resource\") – PHP implementation of OpenAI's BPE tokenizer `tiktoken` for encoding, decoding, and counting tokens in GPT prompts\n- [yethee/tiktoken-php](https://github.com/yethee/tiktoken-php \"Link to resource\") – PHP implementation of OpenAI's *tiktoken* tokenizer for token counting and optimization\n\n---\n\n## Embeddings \u0026 Vector Search\n\n*Libraries for generating embeddings and performing vector similarity search from PHP applications.*\n\n- 🌟 [algolia/algoliasearch-client-php](https://github.com/algolia/algoliasearch-client-php \"Link to resource\") – ![GitHub stars](https://img.shields.io/github/stars/algolia/algoliasearch-client-php?style=social) Algolia search client\n- [b7s/neuraphp](https://github.com/b7s/neuraphp \"Link to resource\") – Local text embeddings for PHP via FFI, powered by embedding.cpp, enabling private embedding generation without Python, APIs, or external services at runtime \n- [CodeWithKyrian/chromadb-php](https://github.com/CodeWithKyrian/chromadb-php \"Link to resource\") – PHP client for ChromaDB, enabling vector similarity search and embedding storage for AI and RAG applications\n- [hkulekci/qdrant-php](https://github.com/hkulekci/qdrant-php \"Link to resource\") – PHP client for the Qdrant vector database, enabling vector similarity search and embedding storage for AI and RAG applications\n- [llm-agents-php/vector-storage](https://github.com/llm-agents-php/vector-storage \"Link to resource\") – LLM Agents Vector Storage\n- 🌟 [LLPhant/LLPhant](https://github.com/LLPhant/LLPhant \"Link to resource\") – ![GitHub stars](https://img.shields.io/github/stars/LLPhant/LLPhant?style=social) Comprehensive PHP generative AI framework supporting LLMs, embeddings, vector search and more\n- 🌟 [meilisearch/meilisearch-php](https://github.com/meilisearch/meilisearch-php \"Link to resource\") – ![GitHub stars](https://img.shields.io/github/stars/meilisearch/meilisearch-php?style=social) Client for Meilisearch search engine\n- 🌟 [pgvector/pgvector](https://github.com/pgvector/pgvector \"Link to resource\") – ![GitHub stars](https://img.shields.io/github/stars/pgvector/pgvector?style=social) Vector similarity search extension for PostgreSQL\n- 🌟 [pgvector/pgvector-php](https://github.com/pgvector/pgvector-php \"Link to resource\") – ![GitHub stars](https://img.shields.io/github/stars/pgvector/pgvector-php?style=social) PHP client for pgvector on PostgreSQL\n- [probots-io/pinecone-php](https://github.com/probots-io/pinecone-php) – PHP client for Pinecone vector database used in semantic search and RAG pipelines\n- [redis-applied-ai/redis-vector-php](https://github.com/redis-applied-ai/redis-vector-php \"Link to resource\") – PHP client for Redis Vector Library (RedisVL) to support vector similarity search and AI-oriented queries\n- [voyanara/milvus-php-sdk](https://github.com/voyanara/milvus-php-sdk \"Link to resource\") – PHP SDK for Milvus vector database API v2\n\n---\n\n## Data Processing\n\n*ETL, data pipelines, serialization, and transformation utilities for preparing data for ML and analytics in PHP.*\n\n- 🌟 [cocur/slugify](https://github.com/cocur/slugify \"Link to resource\") – ![GitHub stars](https://img.shields.io/github/stars/cocur/slugify?style=social) Converts strings into URL-friendly slugs, includes integrations for many frameworks\n- 🌟 [flow-php/flow](https://github.com/flow-php/flow \"Link to resource\") – ![GitHub stars](https://img.shields.io/github/stars/flow-php/flow?style=social) Data processing and ETL framework for PHP with typed pipelines\n- [league/csv](https://github.com/thephpleague/csv \"Link to resource\") – CSV data processing\n- [paperdoc-dev/paperdoc-lib](https://github.com/paperdoc-dev/paperdoc-lib \"Link to resource\") – ![GitHub stars](https://img.shields.io/github/stars/paperdoc-dev/paperdoc-lib?style=social) Zero-dependency PHP library for generating, parsing, and converting documents such as PDF, HTML, CSV, DOCX, XLSX, PPTX, and Markdown\n- 🌟 [php-ds/ext-ds](https://github.com/php-ds/ext-ds \"Link to resource\") – ![GitHub stars](https://img.shields.io/github/stars/php-ds/ext-ds?style=social) PHP Data Structures extension: efficient vectors, maps, sets, etc.\n- [spatie/data-transfer-object](https://github.com/spatie/data-transfer-object \"Link to resource\") – Strongly typed DTOs\n- [symfony/serializer](https://github.com/symfony/serializer \"Link to resource\") – Data normalization \u0026 serialization\n\n---\n\n## Interop \u0026 Model Serving\n\n*Bridging PHP with native libraries, external services, and runtimes for deploying and serving ML and LLM models.*\n\n- 🌟 [deepl-php](https://github.com/DeepLcom/deepl-php \"Link to resource\") – ![GitHub stars](https://img.shields.io/github/stars/DeepLcom/deepl-php?style=social) Official PHP client library for the DeepL API, enabling high-quality language translation via DeepL's AI/ML service\n- [distantmagic/resonance](https://github.com/distantmagic/resonance \"Link to resource\") – Asynchronous PHP framework (Swoole-based) for building AI-powered, IO-intensive applications, with built-in web server, LLM integration (llama.cpp), WebSockets, and ML model serving capabilities\n- [FFI](https://www.php.net/manual/en/book.ffi.php \"Link to resource\") – Native C/C++ bindings for ML inference\n- 🧪 [garyblankenship/mcp-php](https://github.com/garyblankenship/mcp-php \"Link to resource\") – PHP example of a Model Context Protocol (MCP) server for connecting LLMs with application logic\n- 🌟 [googleapis/google-cloud-php](https://github.com/googleapis/google-cloud-php \"Link to resource\") – ![GitHub stars](https://img.shields.io/github/stars/googleapis/google-cloud-php?style=social) Official PHP client library for Google Cloud APIs (including ML/AI services like Vision, Translate, AutoML, Vertex AI, etc.)\n- [grpc/grpc-php](https://github.com/grpc/grpc-php \"Link to resource\") – gRPC client for model services\n- 🧪 [HossamBalaha/Deep-Learning-Classification-System-using-PHP-and-Keras](https://github.com/HossamBalaha/Deep-Learning-Classification-System-using-PHP-and-Keras \"Link to resource\") – Example system showing how to integrate a Keras deep learning classifier with a PHP backend\n- 🌟 [neuron-core/neuron-ai](https://github.com/neuron-core/neuron-ai \"Link to resource\") – ![GitHub stars](https://img.shields.io/github/stars/neuron-core/neuron-ai?style=social) PHP agentic AI framework for building and orchestrating LLMs, RAG etc\n- [nlpcloud/nlpcloud-php](https://github.com/nlpcloud/nlpcloud-php \"Link to resource\") – PHP client for the NLP Cloud API (access NLP/ML services like NER, sentiment analysis, summarization, text generation, embeddings, translation, and more)\n---\n\n## Tools \u0026 Utilities\n\n*Supporting tools, debugging helpers, logging, and HTTP/CLI utilities commonly used in ML and AI workflows.*\n\n- 🧪 [apphp/pretty-print](https://github.com/apphp/pretty-print \"Link to resource\") – Pretty-print PHP arrays and numeric data for ML debugging\n- 🧪 [context-hub/generator](https://github.com/context-hub/generator \"Link to resource\") – Context-as-Code (CTX) tool that extracts and organizes codebase context into structured documents and MCP servers for LLM-assisted development\n- [guanguans/ai-commit](https://github.com/guanguans/ai-commit \"Link to resource\") – AI-powered CLI to automatically generate conventional Git commit messages\n- 🧪 [hiblaphp/http-client](https://github.com/hiblaphp/http-client \"Link to resource\") – Lightweight PSR-7/PSR-18 compatible HTTP client for interacting with AI APIs and external services from PHP\n- [joshembling/laragenie](https://github.com/joshembling/laragenie \"Link to resource\") – AI chatbot/assistant for Laravel that indexes and understands your codebase via the command line (OpenAI + Pinecone)\n- 🧪 [mariorazo97/single-file-php-ai](https://github.com/mariorazo97/single-file-php-ai \"Link to resource\") – Drop-in single-file PHP AI chat interface for Ollama and OpenAI, with no Node.js, Docker, database, or build step\n- [nunomaduro/collision](https://github.com/nunomaduro/collision \"Link to resource\") – CLI error handling (useful for ML tools)\n- [psr/log](https://github.com/php-fig/log \"Link to resource\") – Logging standard\n- [symfony/console](https://github.com/symfony/console \"Link to resource\") – CLI applications\n- [symfony/http-client](https://github.com/symfony/http-client \"Link to resource\") – Robust HTTP client for AI APIs\n\n---\n\n## Laravel \u0026 Framework Integrations\n\n### LLM \u0026 AI clients\n\n- [artisan-build/llm](https://github.com/artisan-build/llm \"Link to resource\") – Laravel integration for multiple LLM providers (OpenAI, Azure, OpenRouter, etc.), simplifying usage of large language models in Laravel apps\n- 🧪 [builtbyberry/laravel-swarm](https://github.com/builtbyberry/laravel-swarm \"Link to resource\") – Multi-agent swarm orchestration for Laravel, built on Laravel AI, with sequential, parallel, hierarchical, queued, streamed, and durable workflows\n- [BorahLabs/LLM-Port-Laravel](https://github.com/BorahLabs/LLM-Port-Laravel \"Link to resource\") – Laravel package for interchangeable LLM providers, allowing drop-in replacements of large language models\n- [Capevace/llm-magic](https://github.com/Capevace/llm-magic \"Link to resource\") – Laravel-centric LLM toolkit with support for AI features like chat and structured data extraction\n- [coding-wisely/taskallama](https://github.com/coding-wisely/taskallama \"Link to resource\") – Laravel package for seamless integration with the Ollama LLM API for AI-powered content generation, task assistance, conversation and embeddings\n- [grok-php/laravel](https://github.com/grok-php/laravel \"Link to resource\") – Laravel package for integrating Grok AI models\n- 🌟 [laravel/ai](https://github.com/laravel/ai \"Link to resource\") – ![GitHub stars](https://img.shields.io/github/stars/laravel/ai?style=social) The Laravel AI SDK: a unified, expressive Laravel API for interacting with AI providers (LLMs, images, embeddings, agents, tools)\n- 🌟 [laravel/boost](https://github.com/laravel/boost \"Link to resource\") – ![GitHub stars](https://img.shields.io/github/stars/laravel/boost?style=social) Official Laravel Boost: a development server and AI context provider that accelerates AI-assisted code generation by giving AI tools detailed insight into your Laravel app (MCP server, schema inspection, docs + guidelines)\n- [maestroerror/LarAgent](https://github.com/maestroerror/LarAgent \"Link to resource\") – AI agent development framework for Laravel: define agents, tools, workflows, and manage LLM interactions with an Eloquent-style API\n- [moe-mizrak/laravel-openrouter](https://github.com/moe-mizrak/laravel-openrouter \"Link to resource\") – Laravel package to integrate OpenRouter LLM API\n- [mozex/anthropic-laravel](https://github.com/mozex/anthropic-laravel \"Link to resource\") – Laravel integration for the Anthropic (Claude) AI API with Facades, config publishing, and testing fakes\n- 🌟 [neuron-core/neuron-laravel](https://github.com/neuron-core/neuron-laravel \"Link to resource\") – ![GitHub stars](https://img.shields.io/github/stars/neuron-core/neuron-laravel?style=social) Laravel integration for Neuron Core to build and orchestrate AI/LLM workflows\n- [atlas-php/atlas](https://github.com/atlas-php/atlas \"Link to resource\") – Laravel AI application framework for structuring agents, tools, prompts, and pipelines on top of Prism PHP\n- 🌟 [openai-php/laravel](https://github.com/openai-php/laravel \"Link to resource\") – ![GitHub stars](https://img.shields.io/github/stars/openai-php/laravel?style=social) Laravel OpenAI integration \n- [opgginc/laravel-mcp-server](https://github.com/opgginc/laravel-mcp-server \"Link to resource\") – Laravel package for building secure Model Context Protocol (MCP) servers using Streamable HTTP/SSE, enabling real-time communication between LLM agents and application tools\n- [PapaRascal2020/sidekick](https://github.com/PapaRascal2020/sidekick \"Link to resource\") – Laravel package offering a unified syntax for working with multiple AI provider APIs (OpenAI, Claude, Cohere, Mistral)\n- 🌟 [php-mcp/laravel](https://github.com/php-mcp/laravel \"Link to resource\") – ![GitHub stars](https://img.shields.io/github/stars/php-mcp/laravel?style=social) – Laravel package for building Model Context Protocol (MCP) servers and exposing application tools to LLMs\n- 🌟 [promptlyagentai/promptlyagent](https://github.com/promptlyagentai/promptlyagent \"Link to resource\") – AI Agent development framework / workbench / harness powered by Laravel\n- [shawnveltman/laravel-openai](https://github.com/shawnveltman/laravel-openai \"Link to resource\") – Laravel wrapper for OpenAI\n- [vizra-ai/vizra-adk](https://github.com/vizra-ai/vizra-adk \"Link to resource\") – Laravel AI Agent Development Kit for building autonomous agents with tools, persistent memory, workflows, streaming, evaluations, tracing, and Prism-powered multi-model support\n- [rahasistiyakofficial/laravel-ai-integration](https://github.com/rahasistiyakofficial/laravel-ai-integration \"Link to resource\") – This is a comprehensive, enterprise-ready package that provides seamless integration with multiple AI providers through a unified, elegant API\n\n### Data \u0026 DTO tools\n\n- [jeremysalmon/LaravelLLMContext](https://github.com/jeremysalmon/LaravelLLMContext \"Link to resource\") – Laravel package for managing and applying contextual data in LLM interactions\n- 🌟 [prism-php/prism](https://github.com/prism-php/prism \"Link to resource\") – ![GitHub stars](https://img.shields.io/github/stars/prism-php/prism?style=social) Unified Laravel-native interface for working with LLMs (OpenAI, Anthropic, Gemini, Ollama, etc.), supporting text generation, structured outputs, tools/function calling, and multi-step AI workflows\n- [spatie/laravel-data](https://github.com/spatie/laravel-data \"Link to resource\") – Typed DTOs for API \u0026 AI responses\n\n### Localization \u0026 Translation\n\n- [Capevace/ai-translations-for-laravel](https://github.com/Capevace/ai-translations-for-laravel \"Link to resource\") – Laravel package for automatically translating language files with LLMs, detecting missing translations, updating existing locales, validating translation files, and refining translations interactively\n- [jayeshmepani/laravel-gemini-translator](https://github.com/jayeshmepani/laravel-gemini-translator \"Link to resource\") – Laravel Gemini AI Translation Extractor scans your Laravel project for translation keys, uses Google Gemini AI for translations, and generates language files automatically — streamlining and accelerating your localization workflow\n\n### Monitoring / Cost Control\n\n- 🧪 [subhashladumor1/laravel-ai-guard](https://github.com/subhashladumor1/laravel-ai-guard \"Link to resource\") – Laravel package for tracking LLM token usage, estimating AI costs, enforcing per-user or per-tenant budgets, and preventing unexpected AI billing spikes\n\n### MCP / Tooling\n\n- [RedberryProducts/mcp-client-laravel](https://github.com/RedberryProducts/mcp-client-laravel \"Link to resource\") – Laravel-native MCP client for connecting to Model Context Protocol servers via HTTP or STDIO, retrieving tools and resources, and integrating external agent capabilities into Laravel apps\n\n### Prompt Management\n\n- 🧪 [prismaticoder/laravel-prompt-manager](https://github.com/prismaticoder/laravel-prompt-manager \"Link to resource\") – Laravel package for managing, versioning, and testing AI prompts for LLM-powered applications\n- 🧪 [SabatinoMasala/laravel-llm-prompt](https://github.com/SabatinoMasala/laravel-llm-prompt \"Link to resource\") – Lightweight Laravel helper for defining, templating, and composing LLM prompts using PHP classes with variable interpolation and dynamic prompt building\n\n### Search \u0026 vector search\n\n- 🌟 [laravel/scout](https://github.com/laravel/scout \"Link to resource\") – ![GitHub stars](https://img.shields.io/github/stars/laravel/scout?style=social) – Search abstraction (useful for vector search)\n- [teamtnt/laravel-scout-tntsearch-driver](https://github.com/teamtnt/laravel-scout-tntsearch-driver \"Link to resource\") – Local full-text search\n\n---\n\n## Symfony \u0026 Framework Integrations\n\n- [openai-php/symfony](https://github.com/openai-php/symfony \"Link to resource\") – OpenAI PHP for Symfony integration\n- 🌟 [symfony/ai](https://github.com/symfony/ai) – ![GitHub stars](https://img.shields.io/github/stars/symfony/ai?style=social \"Link to resource\") – Symfony AI: built-in AI components and bundles for Symfony apps\n- [soleinjast/symfony-markdown-response-bundle](https://github.com/soleinjast/symfony-markdown-response-bundle \"Link to resource\") – Symfony bundle that automatically serves Markdown versions of HTML responses to clients\n- 🧪 [symfony/ai-agent](https://github.com/symfony/ai-agent \"Link to resource\") – Symfony AI Agent component for building agentic applications that interact with users, execute tasks, and manage workflows\n- 🧪 [symfony/ai-bundle](https://github.com/symfony/ai-bundle \"Link to resource\") – Symfony integration bundle that brings together Symfony AI components for agents, chat, platforms, stores, RAG, tools, and configuration\n- 🧪 [symfony/ai-platform](https://github.com/symfony/ai-platform \"Link to resource\") – Experimental Symfony AI Platform component providing a unified abstraction for interacting with AI models, providers, messages, embeddings, speech, and provider-specific bridge packages\n- [symfony/ai-store](https://github.com/symfony/ai-store \"Link to resource\") – Symfony AI component providing a vector store abstraction for semantic search and RAG workflows\n- [symfony/mcp-bundle](https://github.com/symfony/mcp-bundle \"Link to resource\") – Symfony bundle for exposing MCP tools, prompts, and resources over HTTP or STDIO using the official MCP SDK\n\n---\n\n## WordPress Integrations\n\n- [WordPress/php-ai-client](https://github.com/WordPress/php-ai-client \"Link to resource\") – Provider-agnostic PHP AI SDK offering a unified API for interacting with multiple LLM providers (OpenAI, Anthropic, Gemini, etc.), supporting text, image, speech, streaming, and multimodal operations\n\n---\n\n## Resources\n\n### General\n\n- [Awesome PHP](https://github.com/ziadoz/awesome-php \"Link to resource\")\n- 🧪 [dykyi-roman/awesome-claude-code](https://github.com/dykyi-roman/awesome-claude-code \"Link to resource\") – Curated collection of commands, agents, skills, hooks, and tools for enhancing Claude Code AI workflows\n\n### Courses \u0026 Tutorials\n\n- [Fun With OpenAI and Laravel](https://laracasts.com/series/fun-with-openai-and-laravel \"Link to resource\") – Laracasts series showing how to integrate OpenAI into Laravel apps\n- [Laravel Cloud Skills](https://skills.laravel.cloud) – Interactive learning platform for building and deploying Laravel applications, including modern AI and cloud workflows\n\n### ML / AI Platforms\n\n- [ONNX Runtime](https://onnxruntime.ai \"Link to resource\") – Cross-platform, high performance ML inferencing and training accelerator\n- [tensorflow/tfjs](https://github.com/tensorflow/tfjs \"Link to resource\") – JavaScript machine learning platform for training and running models in the browser or Node.js (TensorFlow.js)\n\n### Learning Resources\n\n- [Artificial Intelligence with PHP (GitBook)](https://apphp.gitbook.io/artificial-intelligence-with-php/ \"Link to resource\") – Guide and reference for doing AI/ML with PHP\n- 🌟 [AI for PHP Developers: Intuitive and Practical (GitBook)](https://apphp.gitbook.io/ai-for-php-developers/ \"Link to resource\") – Guide on AI with PHP in Russian / English\n- [Build Your Own LLM in PHP (GitBook)](https://apphp.gitbook.io/build-your-own-llm-in-php/ \"Link to resource\") – Guide to building an LLM from scratch in PHP\n- [PHP FANN installation](https://www.php.net/manual/en/fann.installation.php \"Link to resource\") – Official PHP manual page for installing the FANN (Fast Artificial Neural Network) extension\n- [PHP and LLMs (eBook)](https://leanpub.com/php_and_llms \"Link to resource\") – Practical book on integrating and using large language models with PHP\n- [PHP-ML Tutorials](https://php-ml.readthedocs.io/en/latest/ \"Link to resource\") – Documentation for PHP-ML for machine learning\n- [Rubix ML Docs](https://rubixml.github.io/ML/latest/ \"Link to resource\") – Comprehensive documentation for Rubix ML\n \n---\n\n## Support this project\n\nIf this project helps you, you can support development here:\n\n💖 [Sponsor me on GitHub](https://github.com/sponsors/apphp)\n\n---\n\n## License\n\nThis list is licensed under the MIT License – see LICENSE for details.\n\n## Contributing\n\nContributions are welcome!  \nPlease see [CONTRIBUTING.md](CONTRIBUTING.md) for details, including criteria for adding new projects (maintenance, documentation, tests, etc).\n\n[↑ Back to top](#Awesome-PHP-Machine-Learning--AI)\n","projects_url":"https://awesome.ecosyste.ms/api/v1/lists/apphp%2Fawesome-php-ml/projects"}