Routing Attributes
Table of Contents
- Group Attributes for CLI Command Controllers
Defines a class-level group for CLI command controllers, allowing consistent command organization within a single class for more efficient routing and execution.
- Error Attributes for HTTP Controllers
Defines class-level error handlers for HTTP applications, allowing flexible error routing by context, URI pattern, and handler method.
- Route Attributes for HTTP and CLI Controller Methods
Learn how to map HTTP requests and CLI commands directly to controller methods using Route attributes — with patterns, groups, middleware, and error handling.
- URI Prefix Attributes for HTTP Controllers
Learn how to use Luminova’s Prefix attribute to group controller routes and assign custom error handlers per prefix. Keep your route logic clean, efficient, and centralized.