Search by

binarytorch / larecipe

saleem-hadad

This package is abandoned and no longer maintained. The author suggests using the larecipe/larecipe package instead.

Living documentation for Laravel apps. Your coding agents write the docs and keep them current; every reader, human or agent, gets the current answer.

Package info

github.com/saleem-hadad/larecipe

Homepage

pkg:composer/binarytorch/larecipe

Fund package maintenance!

saleem-hadad

Statistics

Installs: 3 078 437

Dependents: 18

Suggesters: 1

Stars: 2 510

Open Issues: 1

v3.0.1 2026-10-19 12:51 UTC

README

The LaRecipe docs site in a browser: the sidebar, the 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.

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.

Tests Latest release Downloads GitHub stars MIT license

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

  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.

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.txt and llms-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.

The people who contribute to LaRecipe

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.