Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .ai/laravel/11/core.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
- Laravel 11 brought a new streamlined file structure which this project now uses.

### Laravel 11 Structure
- No middleware files in `app/Http/Middleware/`.
- In Laravel 11 and 12, middlewares are no longer registered in Kernel.php.
- Middlewares are configured declaratively in bootstrap/app.php using Application::configure()->withMiddleware()
- `bootstrap/app.php` is the file to register middleware, exceptions, and routing files.
- `bootstrap/providers.php` contains application specific service providers.
- **No app\Console\Kernel.php** - use `bootstrap/app.php` or `routes/console.php` for console configuration.
Expand Down
3 changes: 2 additions & 1 deletion .ai/laravel/12/core.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
- Since Laravel 11, Laravel has a new streamlined file structure which this project uses.

### Laravel 12 Structure
- No middleware files in `app/Http/Middleware/`.
- In Laravel 11 and 12, middlewares are no longer registered in Kernel.php.
- Middlewares are configured declaratively in bootstrap/app.php using Application::configure()->withMiddleware()
- `bootstrap/app.php` is the file to register middleware, exceptions, and routing files.
- `bootstrap/providers.php` contains application specific service providers.
- **No app\Console\Kernel.php** - use `bootstrap/app.php` or `routes/console.php` for console configuration.
Expand Down