经 AI Skill Hub 精选评估,PHP 机器学习 获评「推荐使用」。这款AI工具在功能完整性、社区活跃度和易用性方面表现出色,AI 评分 7.5 分,适合有一定技术背景的用户使用。
PHP 机器学习 是一款基于 PHP 开发的开源工具,专注于 ai、machine-learning、ml 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
PHP 机器学习 是一款基于 PHP 开发的开源工具,专注于 ai、machine-learning、ml 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
# 克隆仓库 git clone https://github.com/apphp/awesome-php-ml cd awesome-php-ml # 查看安装说明 cat README.md # 按 README 完成环境依赖安装后即可使用
# 查看帮助 awesome-php-ml --help # 基本运行 awesome-php-ml [options] <input> # 详细使用说明请查阅文档 # https://github.com/apphp/awesome-php-ml
# awesome-php-ml 配置说明 # 查看配置选项 awesome-php-ml --config-example > config.yml # 常见配置项 # output_dir: ./output # log_level: info # workers: 4 # 环境变量(覆盖配置文件) export AWESOME_PHP_ML_CONFIG="/path/to/config.yml"
The most comprehensive curated list of Machine Learning, Artificial Intelligence, NLP, LLM and Data Science libraries for PHP.
Inspired by awesome-php and the broader Awesome ecosystem.
Goal: make it easy to build intelligent systems with PHP — from classic ML to modern LLM-based workflows.
Want to add a project? See the Contributing section below for inclusion criteria and submission guidance.
PHP Version Requirements: - Minimum: PHP 7.4+ (most libraries already support PHP 8.1+/8.2+) - Recommended: PHP 8.1+ for best performance and features - Latest features: PHP 8.2+ for some cutting-edge libraries
Common dependencies: - Extensions: mbstring, curl, json, gd (for image processing) - Optional: redis, pdo_pgsql (for vector search), ffi (for native bindings)
Memory considerations: - Basic ML: 256MB+ RAM - Neural networks: 512MB+ RAM - Large datasets: 1GB+ RAM recommended
---
composer require rubix/ml composer require php-ai/phpml
composer require openai-php/client
composer require llphant/llphant ```
Basic examples: - Classification: Use RubixML/RubixML with KNearestNeighbors for simple classification tasks - LLM integration: Use openai-php/client to call GPT models from PHP - Text analysis: Use php-ai/php-ml for sentiment analysis and tokenization - Vector search: Use LLPhant/LLPhant with pgvector for semantic search
For beginners new to PHP ML/AI:
```bash
- I want to build a Laravel RAG app Use an LLM client like 🌟 openai-php/client, embeddings + vector search via 🌟 LLPhant/LLPhant with 🌟 pgvector/pgvector or 🌟 meilisearch/meilisearch-php, and orchestrate agents/RAG flows with 🌟 neuron-core/neuron-ai, integrating into Laravel using 🌟 openai-php/laravel and the packages under Laravel & Framework Integrations.
- I only need translation or vision For translation, see 🌟 deepl-php and 🌟 googleapis/google-cloud-php under Interop & Model Serving. For image/vision workloads, combine Computer Vision, Image & Video Processing libraries with cloud AI services via 🌟 symfony/ai or openai-php/client from LLMs & AI APIs.
Clients, SDKs, and frameworks for calling hosted LLMs and other AI providers from PHP.
---
---
全面PHP机器学习工具集,值得关注
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
AI Skill Hub 点评:PHP 机器学习 的核心功能完整,质量良好。对于AI 技术爱好者来说,这是一个值得纳入个人工具库的选择。建议先在非生产环境试用,再逐步推广。
| 原始名称 | awesome-php-ml |
| 原始描述 | 开源AI工具:The most comprehensive curated list of Machine Learning, Artificial Intelligence。⭐107 · PHP |
| Topics | aimachine-learningmlphp |
| GitHub | https://github.com/apphp/awesome-php-ml |
| License | MIT |
| 语言 | PHP |
收录时间:2026-05-28 · 更新时间:2026-05-28 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。