Download the PHP package jeffersongoncalves/filament-admin without Composer
On this page you can find all versions of the php package jeffersongoncalves/filament-admin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download jeffersongoncalves/filament-admin
More information about jeffersongoncalves/filament-admin
Files in jeffersongoncalves/filament-admin
Package filament-admin
Short Description Filament Admin model, AdminResource, status-aware Login page and plugin for a separate admin guard.
License MIT
Homepage https://github.com/jeffersongoncalves/filament-admin
Informations about the package filament-admin
Filament Admin
Filament Admin model, AdminResource, status-aware Login page and plugin for a separate admin guard. Built on laravel-admin.
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
Point auth.providers.admins.model to App\Models\Admin::class in config/auth.php. The model implements FilamentUser, HasAvatar, and canImpersonate() returns true.
Panel access
By default only active admins (status = true) can access a panel. Filament checks this on every request, so deactivating an admin also ends any open session or remember-me login.
Override the gate in AppServiceProvider::boot():
Or through config (php artisan vendor:publish --tag=filament-admin-config), with an invokable class called as __invoke(Admin $admin, Panel $panel): bool:
The facade callback wins over the config value.
Panel
The resource sits in the "Management" navigation group. Change it with AdminPlugin::make()->navigationGroup('Team').
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-admin::resources/admin.* keys (navigation.*, fields.*, actions.*). Publish them to customize or add locales:
Pair it with filament-user's UserPlugin::make() on the same panel to manage users too.
Extending
The resource pages follow the plugin, so there is nothing else to copy. AdminForm::components() and AdminInfolist::components() 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-admin with dependencies
filament/filament Version ^5.0
jeffersongoncalves/filament-additional-information Version ^3.0
jeffersongoncalves/laravel-admin Version ^1.0
spatie/laravel-package-tools Version ^1.16