You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- 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`.
206
206
207
-
=== laravel/v12 rules ===
207
+
=== laravel/v13 rules ===
208
208
209
-
# Laravel 12
209
+
# Laravel 13
210
210
211
211
- CRITICAL: ALWAYS use `search-docs` tool for version-specific Laravel documentation and updated code examples.
212
212
- Since Laravel 11, Laravel has a new streamlined file structure which this project uses.
213
213
214
-
## Laravel 12 Structure
214
+
## Laravel 13 Structure
215
215
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`.
217
217
- Middleware are configured declaratively in `bootstrap/app.php` using `Application::configure()->withMiddleware()`.
218
218
- `bootstrap/app.php` is the file to register middleware, exceptions, and routing files.
219
219
- `bootstrap/providers.php` contains application specific service providers.
- 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);`.
0 commit comments