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
composer require larecipe/larecipe
php artisan larecipe:installOpen /docs. Your docs site is ready, and your coding agents (Claude Code, Codex, Cursor, Gemini, Copilot) are set up to keep it current.
- 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.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.
composer require larecipe/larecipe
php artisan larecipe:upgradeIt 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.
PHP 8.3+ and Laravel 12.62+ or 13. Ask AI needs laravel/ai.
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 workbenchMIT. Made by Saleem Hadad.
⭐ If LaRecipe saves you time, star the repo.
