poshtive/router
Convention-based route discovery for Laravel controllers. Public methods become routes automatically, with PHP attributes for HTTP verb overrides, middleware, where constraints, prefixes, and model-bound parameters. Supports Laravel 12/13 and PHP 8.3.
router:list shows only discovered routes by default. Added --all flag and separate discovered-route count in router:diagnose.router:diagnose.#[Route(keepOrder: true)] being reset when a method-level #[Route] omits the keepOrder option.DoNotDiscover, validation, and route-cache integration.router:list and router:diagnose Artisan commands for route inspection and discovery diagnostics.router:diagnose, including skipped routes, validation conflicts, and unloadable controllers.#[Route(keepOrder: true)] support so every route method in a controller can preserve parameter order without repeating the attribute.prefix routing convention.getaway are not mistaken for HTTP verb-prefixed actions.#[DoNotDiscover] and #[LocalOnly].How can I help you explore Laravel packages today?