ravenna/llms-generator
A Laravel/PHP package that generates llms.txt and llms-full.txt files for your project, giving AI assistants and LLM crawlers a clean, structured map of your documentation and routes so they can understand and navigate your app with less guesswork.
llms.txt generation: Informs the decision to adopt a community package versus writing a small custom Artisan command / route that emits a curated markdown index. The llms.txt spec itself is early and evolving, so the "buy" side is cheap but the spec risk is real.sitemap.xml or robots.txt and a useful forcing function for content owners.Consider it when:
llms.txt endpoint generated from your existing routes/content rather than hand-maintained.sitemap.xml and robots.txt and treats crawler-facing files as standard hygiene—this extends that practice to AI agents.Look elsewhere (or build in-house) when:
llms.txt convention matures into something with a formal standard, at which point you want a maintained, widely-adopted implementation rather than a single-maintainer package.To executives: AI assistants are becoming a front door to product discovery and support. A machine-readable llms.txt manifest is a cheap, low-risk hedge that helps those systems find and correctly describe us—think robots.txt for the AI era. This package lets us test that hypothesis in days, not a sprint, with no vendor lock-in (MIT). Recommend a time-boxed pilot on the docs site, measured by AI-referral traffic and answer accuracy, before any broader commitment.
To engineering: Small Laravel package that generates an llms.txt from your routes/content. Adoption is additive—one command plus a route—and fully reversible. Caveats: near-zero adoption and single-maintainer risk, so plan to fork or vendor it, pin it, and treat the spec as unstable. The real work is curating which URLs and summaries go in the manifest; the tooling is the easy part. Ask: is this worth a spike, or do we hand-roll a 20-line command and keep the dependency surface flat?
Recommendation: Treat as a low-cost discovery spike, not a production dependency. If the pilot shows measurable AI-referral or answer-accuracy lift, re-evaluate against a maintained or in-house implementation.
How can I help you explore Laravel packages today?