tapp/filament-authentication-log
Resource, Table, Form) to provide a UI layer for the underlying laravel-authentication-log data.laravel-authentication-log (a battle-tested package for tracking auth events), it inherits its core functionality (e.g., failed logins, password resets) while adding a Filament-specific UI. This reduces reinvention but requires adherence to both packages’ conventions.laravel-authentication-log).AuthenticationLoggable, Notifiable) to the User model.app/Providers/Filament/AdminPanelProvider.php.filament/filament (v2.x) and laravel-authentication-log (v3.x), which must be compatible with your Laravel version (9.x/10.x). Version skew could introduce risks (e.g., breaking changes in Filament’s resource system).laravel-authentication-log’s migrations, which may conflict with existing auth-related tables (e.g., failed_jobs, password_resets). Pre-integration schema analysis is critical.composer.json and test against your Filament branch.laravel-authentication-log’s purge command).Filament Version Compatibility:
Data Sensitivity:
Customization Needs:
failed_jobs or other related models? Are there gaps in the provided UI?Performance and Scaling:
laravel-authentication-log’s purge command) or rely on Filament’s default pagination?Testing and Validation:
laravel-authentication-log. It fits seamlessly into a Laravel monolith or microservice (if auth logs are centralized).laravel-authentication-log directly with a custom API endpoint.Prerequisites:
composer.json).laravel-authentication-log (v3.x) and its dependencies:
composer require rappasoft/laravel-authentication-log
php artisan vendor:publish --provider="Rappasoft\LaravelAuthenticationLog\AuthenticationLogServiceProvider"
php artisan migrate
Package Installation:
composer require tapp/filament-authentication-log
app/Providers/Filament/AdminPanelProvider.php:
public function panel(Panel $panel): Panel
{
return $panel
->plugins([
\Tapp\FilamentAuthenticationLog\FilamentAuthenticationLogPlugin::make(),
]);
}
User model:
use Rappasoft\LaravelAuthenticationLog\Traits\AuthenticationLoggable;
use Illuminate\Notifications\Notifiable;
class User extends Authenticatable
{
use AuthenticationLoggable, Notifiable;
}
Configuration:
laravel-authentication-log in .env or config/authentication-log.php (e.g., log retention, sensitive fields).Validation:
laravel-authentication-log supports them (check its documentation).Phase 1: Setup and Configuration
laravel-authentication-log + plugin).User model.Phase 2: Integration
Phase 3: Customization (Optional)
Phase 4: Deployment and Monitoring
laravel-authentication-log and Filament. Use composer update cautiously to avoid breaking changes.laravel-authentication-log’s purge command or custom cron jobs).AuthenticationLoggable trait.authentication_logs table).laravel-authentication-log’s logs (storage/logs/laravel.log) and Filament’s debug panel.How can I help you explore Laravel packages today?