Foxws

Data layer · Markdown · GitHub

Laravel Docs

Pull a package's docs/*.md folder from GitHub into queryable Eloquent models.

composer require foxws/laravel-docs
Get startedSource
Latest release
1.8.2
Requires
PHP ^8.3
Laravel
12.x / 13.x
Licence
MIT
Downloads
487/mo

A headless package that pulls a package's docs/*.md folder — from GitHub, or a local folder for a project with no repository of its own yet — into queryable Eloquent models. There is no bundled frontend or theme — the consuming application renders the UI against the Project and Document models this package provides.

Let your AI agent do the hard parts. This package ships a Laravel Boost skill, docs-development, that teaches your agent how to install, configure and use Laravel Docs. Install Boost and select the skill when prompted:

composer require laravel/boost --dev
php artisan boost:install

Already using Boost? Run php artisan boost:update --discover to pick up the skill. Then just ask, for example: "Register foxws/laravel-ddd as a project and sync its docs every day."

Scope

This version only pulls per-package "project" docs (a docs/ folder living in each package's own repository). A future version may add a second content type for site-wide static pages (home, about, etc.) sourced from a single shared repository — see upgrading.md.