Skip to content

Conversation

@SebKay
Copy link
Owner

@SebKay SebKay commented Dec 7, 2025

Note

Upgrades Filament to v4 and updates auth/panel code and the User resource to v4 APIs with a new schemas/tables structure, plus pagination config and minor policy/import tweaks.

  • Dependencies
    • Upgrade filament/filament to ^4.0 and align ecosystem packages; add post-update/upgrade script hook.
  • Filament v4 migration
    • Update auth login page to extend \Filament\Auth\Pages\Login.
    • Swap event to Filament\Auth\Events\Registered.
    • Update AdminPanelProvider to use Dashboard and Login classes and v4 middlewares.
    • Add Filament Inter font assets under public/fonts/filament/filament/inter/.
  • User Resource refactor
    • Replace app/Filament/Resources/UserResource.php with v4-style resource in app/Filament/Resources/Users/UserResource.php.
    • Extract form to Schemas/UserForm (Filament\Schemas\Schema) and table to Tables/UsersTable.
    • Update pages (ListUsers, CreateUser, EditUser) namespaces and actions to Filament\Actions\*.
  • Config/Providers
    • Table defaults: set defaultPaginationPageOption(50) and paginationPageOptions([5, 10, 25, 50, 'all']).
    • Simplify policy mappings in AuthServiceProvider (imported Role, Permission).
  • Docs
    • Update internal guidelines to emphasize Filament v4 changes and component organization.

Written by Cursor Bugbot for commit 6348e2c. This will update automatically on new commits. Configure here.

@SebKay SebKay self-assigned this Dec 7, 2025
@SebKay
Copy link
Owner Author

SebKay commented Dec 7, 2025

@cursor review

@SebKay SebKay merged commit fc86028 into main Dec 7, 2025
2 checks passed
@SebKay SebKay deleted the filament-v4 branch December 7, 2025 00:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants