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
Copy file name to clipboardExpand all lines: CLAUDE.md
+57-20Lines changed: 57 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,23 +8,26 @@ The Laravel Boost guidelines are specifically curated by Laravel maintainers for
8
8
## Foundational Context
9
9
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.
210
-
- Resource pages (List, Create, Edit) are auto-generated within the resource's directory - e.g., `app/Filament/Resources/PostResource/Pages/`.
211
-
- Forms use the `Forms\Components` namespace for form fields.
212
-
- Tables use the `Tables\Columns` namespace for table columns.
213
-
- A new `Filament\Forms\Components\RichEditor` component is available.
214
-
- Form and table schemas now use fluent method chaining.
215
-
- Added `php artisan filament:optimize` command for production optimization.
216
-
- Requires implementing `FilamentUser` contract for production access control.
211
+
### Important Version 4 Changes
212
+
- File visibility is now `private` by default.
213
+
- 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.
214
+
- The `Grid`, `Section`, and `Fieldset` layout components no longer span all columns by default.
215
+
- The `all` pagination page method is not available for tables by default.
216
+
- All action classes extend `Filament\Actions\Action`. No action classes exist in `Filament\Tables\Actions`.
217
+
- The `Form` & `Infolist` layout components have been moved to `Filament\Schemas\Components`, for example `Grid`, `Section`, `Fieldset`, `Tabs`, `Wizard`, etc.
218
+
- A new `Repeater` component for Forms has been added.
219
+
- Icons now use the `Filament\Support\Icons\Heroicon` Enum by default. Other options are available and documented.
- Use the `search-docs` tool to find exact version specific documentation for how to write Livewire & Livewire tests.
291
-
- Use the `php artisan make:livewire [Posts\\CreatePost]` artisan command to create new components
300
+
- Use the `php artisan make:livewire [Posts\CreatePost]` artisan command to create new components
292
301
- State should live on the server, with the UI reflecting it.
293
302
- All Livewire requests hit the Laravel backend, they're like regular HTTP requests. Always validate form data, and run authorization checks in Livewire actions.
0 commit comments