Change default middleware in bootstrap/app.php in Laravel 11 #398
Unanswered
ivanvermeyen
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
My package needs to run a middleware in the
web
group in a certain order/priority.Before Laravel 11, I could stub the
Kernel.php
file in my base TestCase:But as of Laravel 11, this is now handled in
bootstrap/app.php
.Is there a way to stub this file too?
Beta Was this translation helpful? Give feedback.
All reactions