Skip to content Docs index for AI agents (llms.txt)
LaRecipe
3.x

Versions

IntroductionDocs that keep up with your code

Docs that keep up with your code

LaRecipe is a docs site that lives inside your Laravel app, written and kept current by the coding agent you already use. It has one goal: your docs never fall behind your code, so people and agents always read the current answer.

Updated 3 min read

You write pages in Markdown, in your own repository, next to the code they describe. People read them as a fast site, and agents read the same pages as Markdown, through llms.txt and an MCP server.

The LaRecipe docs site in a browser: the sidebar, this Introduction page, and the panel of actions for agents, such as Copy as Markdown and Connect MCP. A badge on the window reads 3M+ downloads.

Every page lists the code it describes. When that code changes, the coding agent that changed it updates the page before it pushes, and a hook holds the push once if it forgets. The docs land in the same pull request as the code, and you review them together.

Your code changes, and LaRecipe finds the docs pages that list that code as their source. Your coding agent updates them before it pushes, so the code and the docs land in the same pull request and merge together. Then people read the docs site, and agents read the same pages as Markdown, through llms.txt and over MCP.

Install in two commands

With your AI agent

Paste this prompt into Claude Code, Codex, Cursor or any coding agent, inside your Laravel app.

Prompt
Install LaRecipe in this Laravel app:
1. Run composer require larecipe/larecipe. 2. Run php artisan larecipe:install --no-interaction to keep the defaults. 3. Run php artisan larecipe:doctor and fix anything it reports. 4. Read the app and write starter docs with the larecipe-write-docs skill.
Then tell me the URL of the docs site.

Manual

Run this in your Laravel app.

bash
composer require larecipe/larecipe
php artisan larecipe:install
  1. Paste it in your terminal
  2. Press Enter for the defaults
  3. Open /docs

There is no Node and no build step. The installer also sets up the coding agents you already use, such as Claude Code, Codex and Cursor, so there is nothing to remember day to day.

What you get

Next

Moving a site from LaRecipe 2? Read Upgrade from v2.

Stay in the loop

Newsletter

Stay in the loop

LaRecipe release notes by email. Unsubscribe any time.

This form is a custom React component this site adds to LaRecipe. See how it is built