Auto-Registering Middleware?
Closed this issue · 1 comments
m1guelpf commented
Is there an specific reason why you tell your users to register the middleware when you can use aliasMiddleware() in the service provider?
freekmurze commented
Not sure, but I believe this has been done because aliasMiddleware
is not named the same in the different versions of Laravel this package supports.
When creating a new major version of the package that targets L5.5, we'll probably register the middleware in the service provider again.