Routes
Laravel Route:: verbs, match, resource and apiResource, prefix groups in the same file, and the /api prefix on routes/api.php. Symfony #[Route] attributes and @Route annotations with class prefixes. Slim and Lumen $app->get.
PHP repositories
phpDocumentor and Doctum turn PHPDoc blocks into API reference. Moxie Docs covers what they leave out: how the application is laid out, which routes it serves, which Composer packages it leans on, how to run its checks, and the conventions a new engineer or coding agent should follow.
What you get
Laravel Route:: verbs, match, resource and apiResource, prefix groups in the same file, and the /api prefix on routes/api.php. Symfony #[Route] attributes and @Route annotations with class prefixes. Slim and Lumen $app->get.
Namespaced classes, interfaces, traits, enums, and functions, each with its PHPDoc summary. Functions keep parameters and return types, and @internal marks a symbol private.
Grouped, aliased, use function, and use const imports resolve to files under app/ and src/, so PR checks know which classes depend on a change.
Dependencies come from require and require-dev, matched to namespaces such as Illuminate to laravel/framework and Symfony\Component to the right symfony package.
Composer scripts first, then Pint or PHP-CS-Fixer, phpcs, PHPStan, Larastan or Psalm, and php artisan test, Pest, or PHPUnit - whatever the repo actually uses.
PHPUnit and Pest files under tests/ and any *Test.php count as tests, not as undocumented source.
How it works
Install the app on the PHP repositories you want covered. vendor/, bootstrap/cache, storage/framework, and Blade templates are skipped for symbols.
Moxie Docs reads classes and routes, resolves use statements, reads composer.json and tool config, and writes the architecture, conventions, API surface, and setup pages.
Cursor, Claude Code, and Codex get the same docs, conventions, and check commands over MCP before they edit.
Every merge re-checks the pages that cite changed files. Fixes arrive as docs-only PRs your team reviews.
Scope
PHP already has API reference generators. Moxie Docs does not replace them.
phpDocumentor, Doctum, and phpDox render a page per class from PHPDoc blocks. That is the right tool when you publish a package and need full method-level reference. They do not explain how a Laravel app is wired together, notice when a merged change made a setup guide wrong, or tell a coding agent which conventions your team follows.
Moxie Docs writes that descriptive layer from the repository and keeps it current. Existing Markdown docs are indexed and checked for drift, never overwritten.
FAQ
Get started
The first index reads your routes, Composer packages, and tooling and writes the architecture, conventions, and setup docs. Free on one repo, no card required.