Skip to content

Commit fccecd2

Browse files
chore(cursor): point Laravel Boost rules at framework v13
1 parent dcc2d28 commit fccecd2

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.cursor/rules/laravel-boost.mdc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ This application is a Laravel application and its main Laravel ecosystems packag
1414

1515
- php - 8.5.2
1616
- filament/filament (FILAMENT) - v5
17-
- laravel/framework (LARAVEL) - v12
17+
- laravel/framework (LARAVEL) - v13
1818
- laravel/prompts (PROMPTS) - v0
1919
- livewire/livewire (LIVEWIRE) - v4
2020
- larastan/larastan (LARASTAN) - v3
@@ -204,16 +204,16 @@ protected function isAccessible(User $user, ?string $path = null): bool
204204

205205
- If you receive an "Illuminate\Foundation\ViteException: Unable to locate file in Vite manifest" error, you can run `npm run build` or ask the user to run `npm run dev` or `composer run dev`.
206206

207-
=== laravel/v12 rules ===
207+
=== laravel/v13 rules ===
208208

209-
# Laravel 12
209+
# Laravel 13
210210

211211
- CRITICAL: ALWAYS use `search-docs` tool for version-specific Laravel documentation and updated code examples.
212212
- Since Laravel 11, Laravel has a new streamlined file structure which this project uses.
213213

214-
## Laravel 12 Structure
214+
## Laravel 13 Structure
215215

216-
- In Laravel 12, middleware are no longer registered in `app/Http/Kernel.php`.
216+
- In Laravel 13, middleware are no longer registered in `app/Http/Kernel.php`.
217217
- Middleware are configured declaratively in `bootstrap/app.php` using `Application::configure()->withMiddleware()`.
218218
- `bootstrap/app.php` is the file to register middleware, exceptions, and routing files.
219219
- `bootstrap/providers.php` contains application specific service providers.
@@ -223,7 +223,7 @@ protected function isAccessible(User $user, ?string $path = null): bool
223223
## Database
224224

225225
- When modifying a column, the migration must include all of the attributes that were previously defined on the column. Otherwise, they will be dropped and lost.
226-
- Laravel 12 allows limiting eagerly loaded records natively, without external packages: `$query->latest()->limit(10);`.
226+
- Laravel allows limiting eagerly loaded records natively, without external packages: `$query->latest()->limit(10);`.
227227

228228
### Models
229229

0 commit comments

Comments
 (0)