Skip to content

Conversation

Sairahcaz
Copy link
Contributor

This PR fixes an issue where the InjectBoost middleware was not reliably appended to the web middleware group in the old Kernel based app configuration.

By deferring the call with $this->app->booted(...), we ensure the middleware is always appended to the final web group definition.

@ashleyhindle
Copy link
Collaborator

Appreciate this @Sairahcaz, thanks!

@ashleyhindle ashleyhindle merged commit 516c7b9 into laravel:main Aug 27, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants