Download the PHP package awcodes/filament-sentry without Composer
On this page you can find all versions of the php package awcodes/filament-sentry. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package filament-sentry
Filament Sentry
A basic auth scaffolding for Filament utilizing Filament Breezy, Filament Shield and custom User Resources.
Installation
Install the package via composer
Publish config files.
This will publish Sentry's config and Sentry's version of Breezy's config with stronger default password rules. You are free to modify this however you see fit.
Add the HasFilamentShield
trait to your User model(s):
Install Shield
Emailing new users with password reset link
Filament Sentry has the ability to email new users with a password reset link when they are created so they can make their password more accessible to them. This really should only be needed if you have disabled registration for your app.
This functionality can be turned on and off in the config file. Use the 'noreply' setting to set the email address that will be used as the sender of the email sent to new users.
Unguarding Super Admin
Filament Sentry unguards users with the super_admin role allowing them to bypass policies and have full control over the system. If you do not want super_admins to have this priviledge you can disable it in the config.
Modifying the User Resource
To modify the User Resource you will need to eject the resource and pages into your app. This will publish the resource / pages to app/Filament/Resources
and update the user_resource
setting in Sentry's config file.
Note Any additional fields added to the user will need to be added to the $nonPermissionsFilter in both the CreateUser and EditUser resource pages.
Seeder Reference (Optional)
In database/seeders/DatabaseSeeder.php
or where appropriate:
All versions of filament-sentry with dependencies
bezhansalleh/filament-shield Version ^2.0
filament/filament Version ^2.0
jeffgreco13/filament-breezy Version ^1.3
spatie/laravel-package-tools Version ^1.9.2