christhompsontldr/laravel-docit
Laravel package that generates and serves project documentation inside your app. Docit helps you organize docs, expose them via routes/views, and keep README-style content accessible for teams without leaving Laravel.
composer docit
Or run the bin file directly:
php vendor/bin/build-docs
For monorepo: php packages/laravel-docit/bin/build-docs
The built site is written to DOCIT_OUTPUT_DIR (default docs/dist) in your project root. Set the env var to use a different location (e.g. docs, dist, build). Deploy via GitHub Actions or copy to any static host.
| Directory | Purpose |
|---|---|
docs |
Documentation pages (Markdown) |
Place your Markdown files in docs/ in the docit package (or your consuming package). Use docit.json in your project root to customize sidebar order and labels.
DOCIT_SITE_NAME and DOCIT_EDIT_BASE_URL env vars or in docit.jsonHow can I help you explore Laravel packages today?