Luminova Framework

Routing Attributes

Table of Contents

  1. 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.

  2. Error Attributes for HTTP Controllers

    Defines class-level error handlers for HTTP applications, allowing flexible error routing by context, URI pattern, and handler method.

  3. 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.

  4. 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.