A route list tells you the endpoint exists; the form request tells you what it will actually reject, and that is where generated client code and generated tests fall over. Parsing those rules — with the authorisation logic beside them — means the agent knows the contract rather than guessing it from a controller signature. The single-call whole-endpoint view is the one to use in practice: it saves the four round trips you would otherwise spend assembling the same picture.
A package you add to a Laravel application so an agent can ask the codebase what its API actually is, rather than inferring it from source.
- Route discovery, filterable by path, method, domain, with vendor routes excluded
- Controller inspection, down to file paths and line numbers
- Validation analysis — the form request rules, custom messages and authorisation logic
- Response schema analysis over return types, resources and model attributes
- One call that returns everything about a single endpoint
- Routes and controllers also reachable as addressable resources
PHP 8.2 or higher and Laravel 12.x, installed with composer. MIT licensed.
One command — composer require 0xmergen/lmad
