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
* Run upgrade script
* Use v4 directory structure
* Remove upgrade script
* Update laravel-boost.mdc
* Move form and table back into methods
* Use new form and table files
* Add "All" table pagination option
* Update User.php
Copy file name to clipboardExpand all lines: .cursor/rules/laravel-boost.mdc
+16-10Lines changed: 16 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ The Laravel Boost guidelines are specifically curated by Laravel maintainers for
12
12
This application is a Laravel application and its main Laravel ecosystems package & versions are below. You are an expert with them all. Ensure you abide by these specific packages & versions.
- Resources are located in `app/Filament/Resources/` directory.
653
-
- Resource pages (List, Create, Edit) are auto-generated within the resource's directory - e.g., `app/Filament/Resources/PostResource/Pages/`.
654
-
- Forms use the `Forms\Components` namespace for form fields.
655
-
- Tables use the `Tables\Columns` namespace for table columns.
656
-
- A new `Filament\Forms\Components\RichEditor` component is available.
657
-
- Form and table schemas now use fluent method chaining.
658
-
- Added `php artisan filament:optimize` command for production optimization.
659
-
- Requires implementing `FilamentUser` contract for production access control.
651
+
### Important Version 4 Changes
652
+
- File visibility is now `private` by default.
653
+
- The `deferFilters` method from Filament v3 is now the default behavior in Filament v4, so users must click a button before the filters are applied to the table. To disable this behavior, you can use the `deferFilters(false)` method.
654
+
- The `Grid`, `Section`, and `Fieldset` layout components no longer span all columns by default.
655
+
- The `all` pagination page method is not available for tables by default.
656
+
- All action classes extend `Filament\Actions\Action`. No action classes exist in `Filament\Tables\Actions`.
657
+
- The `Form` & `Infolist` layout components have been moved to `Filament\Schemas\Components`, for example `Grid`, `Section`, `Fieldset`, `Tabs`, `Wizard`, etc.
658
+
- A new `Repeater` component for Forms has been added.
659
+
- Icons now use the `Filament\Support\Icons\Heroicon` Enum by default. Other options are available and documented.
0 commit comments