Skip to content

Location of the middleware #309

@eura-app

Description

@eura-app

In the boost guidelines it says no middleware in the app/Http/Middleware/ but in the Laravel documentation it says the Http directory contains the middleware. where should the AI place the middleware?

https://laravel.com/docs/12.x/structure#the-http-directory

The Http Directory
The Http directory contains your controllers, middleware, and form requests. Almost all of the logic to handle requests entering your application will be placed in this directory.

### Laravel 12 Structure
- No middleware files in `app/Http/Middleware/`.

- No middleware files in `app/Http/Middleware/`.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions