Download the PHP package jeffersongoncalves/filament-user without Composer
On this page you can find all versions of the php package jeffersongoncalves/filament-user. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download jeffersongoncalves/filament-user
More information about jeffersongoncalves/filament-user
Files in jeffersongoncalves/filament-user
Package filament-user
Short Description Filament User model, UserResource, status-aware Login page and plugin for the jeffersongoncalves starter kits.
License MIT
Homepage https://github.com/jeffersongoncalves/filament-user
Informations about the package filament-user
Filament User
Filament User model, UserResource, status-aware Login page and plugin used by the jeffersongoncalves starter kits. Built on laravel-user.
Compatibility
| Branch | Filament | Package version |
|---|---|---|
| 1.x | 3.x | ^1.0 |
| 2.x | 4.x | ^2.0 |
| 3.x | 5.x | ^3.0 |
Installation
Usage
Model
It implements FilamentUser and HasAvatar (reads the filament-edit-profile.avatar_column).
Panel access
By default a user can enter every panel except admin, and only while status = true. Filament re-checks this on every request, so deactivating a user also ends their open sessions and remember-me logins.
Tune the rules in the config file:
Or replace the check entirely from a service provider (e.g. AppServiceProvider::boot()):
Panel
The resource uses the model from auth.providers.users.model, so it always works with App\Models\User.
Other plugin options:
Translations
Labels ship in 19 locales (ar, az, de, en, es, fa, fr, hi, it, ja, nl, pl, pt, pt_BR, ru, tr, uk, uz, zh_CN) under the filament-user::resources/user.* namespace (navigation.*, fields.*, actions.*). To change them, publish and edit:
Extending
Extend the resource and hand it to the plugin. The resource pages follow the plugin, so there is nothing else to copy:
UserInfolist::components() and UsersTable::columns() can be extended the same way.
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Credits
- Jefferson Gonçalves
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of filament-user with dependencies
filament/filament Version ^5.0
jeffersongoncalves/filament-additional-information Version ^3.0
jeffersongoncalves/laravel-user Version ^1.0
spatie/laravel-package-tools Version ^1.16
stechstudio/filament-impersonate Version ^5.4