saleem-hadad/larecipe
关于
✏️ LaRecipe 运行在你的 Laravel 应用中。编程智能体负责编写文档,并在每次变更后更新文档。用户获得快速、美观的网站;智能体获得 Markdown、llms.txt 和 MCP。
开发工具可以做什么
- A fast site, light and dark, right to left, phone to desktop. Just beautiful 💄!
- Search in the browser, with no service to run
- Versions, languages and private docs
- Live references read from your running app
实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- -3
- 1个月
- 0
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Docs that keep up with your code
LaRecipe lives inside your Laravel app. Your coding agents write the docs and update them with every change.
People get a fast, beautiful site; agents get Markdown, llms.txt and MCP.
See it live · Get started · Upgrade from v2 · Changelog
🚀 Get started
composer require larecipe/larecipe
php artisan larecipe:install
Open /docs. Your docs site is ready, and your coding agents (Claude Code, Codex, Cursor, Gemini, Copilot) are set up to keep it current.
🔄 How it works
- Each page lists the code it describes.
- Your agent updates the affected pages before it pushes.
- If it forgets, a hook holds the push and names the pages.
- You review docs and code in the same pull request.
What your agent sees when it forgets:
$ git push
LaRecipe: this push changes code that 1 docs page describes, and it was not updated:
- docs/billing.md (sources: app/Billing/**)
Update it with the larecipe-update-docs skill, run php artisan larecipe:validate,
show the user the docs diff and wait for approval, then commit and push again.
✨ Features
For readers
- A fast site, light and dark, right to left, phone to desktop. Just beautiful 💄!
- Search in the browser, with no service to run
- Versions, languages and private docs
- Live references read from your running app
- Ask AI, with answers that cite your pages
For agents
- Every page as Markdown
llms.txtandllms-full.txt- An MCP server
- A skill for your docs
See it live at larecipe.saleem.dev → The LaRecipe docs are built with LaRecipe.
⬆️ Upgrading from LaRecipe 2
composer require larecipe/larecipe
php artisan larecipe:upgrade
It starts as a dry run with a report. Add --apply to convert, then let your agent finish with the larecipe-upgrade-v2 skill. Read the upgrade guide.
📋 Requirements
PHP 8.3+ and Laravel 12.62+ or 13. Ask AI needs laravel/ai.
🙌 Contributors
This project exists thanks to all the people who contribute. Contribute.
Work on LaRecipe locally
composer install
pnpm install
pnpm build # the prebuilt UI in dist/
vendor/bin/pest # PHP tests
pnpm test # UI tests
pnpm test:browser # browser tests against the workbench
📄 License
MIT. Made by Saleem Hadad.
⭐ If LaRecipe saves you time, star the repo.
探索相关项目
加载中…
