内容
# Larapilot
**从粗略的产品创意到可审查的 Laravel 代码,借助遵循真实流程的 AI 产品团队。**
AI 代理速度快,但孤立的提示不是产品流程。Larapilot 将您的助手转变为有纪律的团队,拥有真正的 workflow — 探索 → 待办事项 → 计划 → 实现 → 审查 → 发布 — 并由 `.larapilot/` 中的版本控制工件支持。
Larapilot 将 [ARchetipo](https://github.com/techreloaded-ar/ARchetipo) 规范驱动的工作流程移植到 **Laravel 和 PHP**,与 [Laravel Boost](https://laravel.com/ai/boost) 集成。Artisan 命令和 Boost 技能/MCP 工具为您的 AI 代理提供有纪律的产品流程和深入的 Laravel 背景。
参见 [为什么选择 Larapilot](https://larapilot.web.ap.it/#why),[工作原理](https://larapilot.web.ap.it/#how-it-works),和 [端到端演练](https://larapilot.web.ap.it/#walkthrough),以获取完整的了解。
📖 **完整文档:** [larapilot.web.ap.it](https://larapilot.web.ap.it)
---
## 要求
- PHP **^8.3**
- Laravel **^12** 或 **^13**
- [Laravel Boost](https://laravel.com/ai/boost) `^2.0`(自动安装)
- 支持 MCP 的 AI 编辑器(Cursor,Claude Code 等)
---
## 快速开始
```bash
composer require andreapollastri/larapilot --dev
php artisan larapilot:install
php artisan boost:install
```
如有需要,在编辑器中注册两个 MCP 服务器:
```json
{
"mcpServers": {
"laravel-boost": {
"command": "php",
"args": ["artisan", "boost:mcp"]
},
"larapilot": {
"command": "php",
"args": ["artisan", "mcp:start", "larapilot"]
}
}
}
```
在 AI 编辑器中以 `/larapilot-inception` 开始,然后为每个用户故事遵循规范驱动的循环。
逐步指南和完整演练(创意 → PRD → 待办事项 → 代码 → 发布):[演练](https://larapilot.web.ap.it/#walkthrough)
其他命令:
```bash
# 更新
composer update andreapollastri/larapilot
php artisan larapilot:update
# 验证安装
php artisan larapilot:doctor
```
---
## License
MIT © Andrea Pollastri