Skip to content

Commit 28ff2fa

Browse files
committed
guidelines: laravel/12: remove indentation so markdown matches
1 parent e07141f commit 28ff2fa

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

.ai/laravel/12/core.blade.php

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,27 @@
22
- Use `search-docs` tool, if available, to get version specific documentation.
33

44
@if (file_exists(base_path('app/Http/Kernel.php')))
5-
{{-- Migrated from L10 to L12, but did't migrate to the new L11 Structure --}}
6-
- This project upgraded from Laravel 10 without migrating to the new streamlined Laravel file structure.
7-
- This is **perfectly fine** and recommended by Laravel. Follow the existing structure from Laravel 10. We do not to need migrate to the new Laravel structure unless the user explicitly requests that.
5+
{{-- Migrated from L10 to L12, but did't migrate to the new L11 Structure --}}
6+
- This project upgraded from Laravel 10 without migrating to the new streamlined Laravel file structure.
7+
- This is **perfectly fine** and recommended by Laravel. Follow the existing structure from Laravel 10. We do not to need migrate to the new Laravel structure unless the user explicitly requests that.
88

9-
### Laravel 10 Structure
10-
- Middleware typically lives in `app/Http/Middleware/` and service providers in `app/Providers/`.
11-
- There is no `bootstrap/app.php` application configuration in a Laravel 10 structure:
12-
- Middleware registration happens in `app/Http/Kernel.php`
13-
- Exception handling is in `app/Exceptions/Handler.php`
14-
- Console commands and schedule register in `app/Console/Kernel.php`
15-
- Rate limits likely exist in `RouteServiceProvider` or `app/Http/Kernel.php`
9+
### Laravel 10 Structure
10+
- Middleware typically lives in `app/Http/Middleware/` and service providers in `app/Providers/`.
11+
- There is no `bootstrap/app.php` application configuration in a Laravel 10 structure:
12+
- Middleware registration happens in `app/Http/Kernel.php`
13+
- Exception handling is in `app/Exceptions/Handler.php`
14+
- Console commands and schedule register in `app/Console/Kernel.php`
15+
- Rate limits likely exist in `RouteServiceProvider` or `app/Http/Kernel.php`
1616
@else
17-
{{-- Laravel 12 project anew, or upgraded & migrated structure --}}
18-
- Laravel brought a new streamlined file structure which this project uses.
17+
{{-- Laravel 12 project anew, or upgraded & migrated structure --}}
18+
- Laravel brought a new streamlined file structure which this project uses.
1919

20-
### Laravel file Structure
21-
- No middleware files in `app/Http/Middleware/`.
22-
- `bootstrap/app.php` is the file to register middleware, exceptions, and routing files.
23-
- `bootstrap/providers.php` for project specific service providers.
24-
- **No app\Console\Kernel.php** - use `bootstrap/app.php` or `routes/console.php` for console configurations.
25-
- **Commands auto-register** - files in `app/Console/Commands/` are automatically available.
20+
### Laravel file Structure
21+
- No middleware files in `app/Http/Middleware/`.
22+
- `bootstrap/app.php` is the file to register middleware, exceptions, and routing files.
23+
- `bootstrap/providers.php` for project specific service providers.
24+
- **No app\Console\Kernel.php** - use `bootstrap/app.php` or `routes/console.php` for console configurations.
25+
- **Commands auto-register** - files in `app/Console/Commands/` are automatically available.
2626
@endif
2727

2828

0 commit comments

Comments
 (0)