✏️ 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.
Overview
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 Open /docs. Your docs site is ready, and your coding agents (Claude Code, Codex, Cursor, Gemini, Copilot) are set up to keep it current. 1. Each page lists the code it describes. 2. Your agent updates the affected pages before it pushes. 3. If it forgets, a hook holds the push and names the pages. 4. You review docs and code in the same pull request. - 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 - Every page as Markdown - llms.txt and llms-full.txt - An MCP server - A skill for your docs The LaRecipe docs are built with LaRecipe.
README
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.
📄 License
MIT. Made by Saleem Hadad.
⭐ If LaRecipe saves you time, star the repo.
Install
This server does not publish a one-line install command.
Open the repository installation guide