Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Docit Laravel Package

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.

View on GitHub
Deep Wiki
Context7

Docit – Documentation Static Site Generator

Docit builds Markdown documentation into a static site using Protocol UI. Output goes to a configurable directory (default docs/dist) —perfect for GitHub Pages, GitLab Pages, or any static hosting.

Docs: christhompsontldr.github.io/laravel-docit

Quick Start

Add a docit script to your repo or package's composer.json:

Composer-installed docit (vendor/christhompsontldr/laravel-docit):

{
  "scripts": {
    "docit": "php vendor/bin/build-docs"
  }
}

Monorepo (docit at packages/laravel-docit):

{
  "scripts": {
    "docit": "php packages/laravel-docit/bin/build-docs"
  }
}

Then run:

composer docit

Or run the bin file directly: php vendor/bin/build-docs when installed via Composer, or php packages/laravel-docit/bin/build-docs in a monorepo.

GitHub Actions Integration

Docit includes a reusable workflow for building and deploying docs. Set repo Settings → Pages → Source to GitHub Actions.

Option A: Reusable workflow (docit in monorepo)

When docit lives at packages/laravel-docit in your repo, add to .github/workflows/docs.yml:

name: Build and Deploy Docs

on:
  push:
    branches: [main]
  workflow_dispatch:

jobs:
  build:
    uses: ./packages/laravel-docit/.github/workflows/build-docs.yml
    with:
      docit-path: packages/laravel-docit
    permissions:
      contents: write
      pages: write
      id-token: write

Option B: Composer-installed docit

When docit is installed via Composer, create .github/workflows/docs.yml:

name: Build and Deploy Docs

on:
  push:
    branches: [main]
  workflow_dispatch:

jobs:
  build:
    uses: ChrisThompsonTLDR/laravel-docit/.github/workflows/build-docs.yml@main
    with:
      docit-path: vendor/christhompsontldr/laravel-docit
      base-path: /your-repo-name  # for GitHub Pages project sites
    permissions:
      contents: write
      pages: write
      id-token: write

License

The MIT License (MIT). Please see License File for more information.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
codifyo/ts-generator-bundle
andydefer/laravel-cluster
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky
spatie/mailcoach-vapor