Skip to content

Conversation

@PanchoDP
Copy link
Contributor

The commit improves middleware registration documentation for Laravel 11 and 12 by:

  1. Clearer guidance: Replaces "No middleware files" statement with specific instructions on where and how to register middlewares
  2. Practical information: Explicitly documents that middlewares are now registered declaratively in bootstrap/app.php using Application::configure()->withMiddleware(), not in Kernel.php
  3. Reduces migration confusion: Helps developers transitioning from Laravel 10 understand the architectural change in middleware registration
  4. Consistency: Applies the same documentation improvements to both Laravel 11 and 12 templates

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.

1 participant