Veleous
5 months ago
117
2
Laravel

Declare middleware use in route file or controller

Posted 5 months ago by Veleous

Is there a convention for where the middleware used should be declared, whether it be on the route or in a controller constructor?

Please sign in or create an account to participate in this conversation.