{"id":22398733,"url":"https://github.com/tappnetwork/filament-authentication-log","last_synced_at":"2026-01-21T22:18:52.919Z","repository":{"id":188799797,"uuid":"679345240","full_name":"TappNetwork/filament-authentication-log","owner":"TappNetwork","description":null,"archived":false,"fork":false,"pushed_at":"2026-01-20T00:41:46.000Z","size":2015,"stargazers_count":51,"open_issues_count":9,"forks_count":23,"subscribers_count":4,"default_branch":"4.x","last_synced_at":"2026-01-20T07:54:52.004Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TappNetwork.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-08-16T16:20:38.000Z","updated_at":"2026-01-20T00:40:01.000Z","dependencies_parsed_at":"2024-03-08T18:25:10.985Z","dependency_job_id":"5a900f31-d8e0-4aa5-b73b-df8ae7c97b5e","html_url":"https://github.com/TappNetwork/filament-authentication-log","commit_stats":null,"previous_names":["tappnetwork/filament-authentication-log"],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/TappNetwork/filament-authentication-log","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TappNetwork%2Ffilament-authentication-log","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TappNetwork%2Ffilament-authentication-log/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TappNetwork%2Ffilament-authentication-log/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TappNetwork%2Ffilament-authentication-log/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TappNetwork","download_url":"https://codeload.github.com/TappNetwork/filament-authentication-log/tar.gz/refs/heads/4.x","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TappNetwork%2Ffilament-authentication-log/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28645548,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T21:29:11.980Z","status":"ssl_error","status_checked_at":"2026-01-21T21:24:31.872Z","response_time":86,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-05T07:12:01.922Z","updated_at":"2026-01-21T22:18:52.913Z","avatar_url":"https://github.com/TappNetwork.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Filament Authentication Log\n\n[![Latest Version on Packagist](https://img.shields.io/packagist/v/tapp/filament-authentication-log.svg?style=flat-square)](https://packagist.org/packages/tapp/filament-authentication-log)\n![Code Style Action Status - Pint](https://github.com/TappNetwork/filament-authentication-log/actions/workflows/fix-php-code-style-issues.yml/badge.svg)\n[![Total Downloads](https://img.shields.io/packagist/dt/tapp/filament-authentication-log.svg?style=flat-square)](https://packagist.org/packages/tapp/filament-authentication-log)\n\nA Filament plugin for [Laravel Authentication Log](https://github.com/rappasoft/laravel-authentication-log) package.\n\nThis package provides a Filament resource and a relation manager for [Laravel Authentication Log](https://github.com/rappasoft/laravel-authentication-log).\n\n## Dependencies\n- [Laravel Authentication Log](https://github.com/rappasoft/laravel-authentication-log)\n\nFollow the configuration instructions for [laravel-authentication-log](https://rappasoft.com/docs/laravel-authentication-log/v1/start/configuration)\n- Publish and run the migrations\n- Add the `AuthenticationLoggable` and `Notifiable` traits to your `User` model\n\n## Version Compatibility\n\n Filament | Laravel   | Laravel Authentication Log   | Filament Authentication Log | Documentation\n:---------|:----------|:-----------------------------|:----------------------------|:--------------\n 2.x      | 9.x/10.x  | 3.x                          | 2.x                         | [Check the docs](https://github.com/TappNetwork/filament-authentication-log/tree/2.x)\n 3.x      | 10.x/11.x | 4.x                          | 3.x                         | [Check the docs](https://github.com/TappNetwork/filament-authentication-log/tree/3.x)\n 3.x      | 12.x      | 5.x                          | 4.x                         | [Check the docs](https://github.com/TappNetwork/filament-authentication-log/tree/3.x)\n 4.x/5.x  | 12.x      | 5.x/6.x                      | 5.x                         | Current\n\n## Installation\n\n\u003e [!IMPORTANT]\n\u003e Please check the **Filament Authentication Log** plugin version you should use in the **Version Compatibility** table above.\n\nYou can install the plugin via Composer:\n\n```bash\ncomposer require tapp/filament-authentication-log:\"^5.0\"\n```\n\nYou can publish the translations files with:\n\n```bash\nphp artisan vendor:publish --tag=\"filament-authentication-log-translations\"\n```\n\nYou can publish the config file with:\n\n```bash\nphp artisan vendor:publish --tag=\"filament-authentication-log-config\"\n```\n\n## Using the Resource\n\nAdd this plugin to a panel in the `plugins()` method. \nE.g., in `app/Providers/Filament/AdminPanelProvider.php`:\n\n```php\nuse Tapp\\FilamentAuthenticationLog\\FilamentAuthenticationLogPlugin;\n \npublic function panel(Panel $panel): Panel\n{\n    return $panel\n        // ...\n        -\u003eplugins([\n            FilamentAuthenticationLogPlugin::make()\n                // -\u003epanelName('admin') // Optional: specify the panel name if needed\n        ]);\n}\n```\n\nThat's it! Now you can see the Authentication Log resource on left sidebar.\n\nThis customization `-\u003epanelName('admin')` allows for better organization if you have multiple panels, such as Developer and Admin panels, where the `FilamentAuthenticationLogPlugin` is used in one panel but the user resource is available only in another panel.\n\n### Resource appearance\n\n![Filament Authentication Log Resource](https://raw.githubusercontent.com/TappNetwork/filament-authentication-log/4.x/docs/resource01.png)\n\n![Filament Authentication Log Resource with filters and tooltip](https://raw.githubusercontent.com/TappNetwork/filament-authentication-log/4.x/docs/resource02.png)\n\n\n## Using the Relation Manager\n\nAdd the `Tapp\\FilamentAuthenticationLog\\RelationManagers\\` to the `getRelations()` method on the Filament resource where the model uses the `AuthenticationLoggable` trait.\n\nE.g. in `App\\Filament\\Resources\\UserResource.php`:\n\n```php\nuse Tapp\\FilamentAuthenticationLog\\RelationManagers\\AuthenticationLogsRelationManager;\n \npublic static function getRelations(): array\n{\n    return [\n        AuthenticationLogsRelationManager::class,\n        // ...\n    ];\n}\n```\n\n### Relation manager appearance\n\n![Filament Authentication Log Relation Manager](https://raw.githubusercontent.com/TappNetwork/filament-authentication-log/4.x/docs/relation_manager.png)\n\n### Displaying Authenticatable Names\n\nTo display the actual name of the authenticatable user instead of the class name, you can configure the plugin to show a specific field. By default, it will use the `name` field if available. If your model does not have a `name` column, you can add a custom attribute:\n\nIn your model:\n\n```php\npublic function getNameAttribute(): string\n{\n    return trim($this-\u003efirst_name . ' ' . $this-\u003elast_name);\n}\n```\n\n### Configuration\n\nTo specify a custom field to display for the authenticatable user, update the `config/filament-authentication-log.php` configuration file:\n\n```php\n'authenticatable' =\u003e [\n    'field-to-display' =\u003e 'name', // Change 'name' to your custom field if needed\n],\n```\n\n### Custom User Resource\n\nIf you have a custom user resource in your application that is not automatically detected by the package, you can specify it in your configuration file. This is particularly useful when:\n\n- Your user resource has a non-standard name or location\n- You have multiple panels and the default user resource detection fails\n- You want to link authentication logs to a specific user resource implementation\n\nTo configure a custom user resource, add this to your `config/filament-authentication-log.php` file:\n\n```php\n'user-resource' =\u003e \\App\\Filament\\Resources\\YourCustomUserResource::class,\n```\n\nThis configuration allows the authentication log to properly generate edit links to your user records on resource, even when the default user resource detection mechanism cannot find them.\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftappnetwork%2Ffilament-authentication-log","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftappnetwork%2Ffilament-authentication-log","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftappnetwork%2Ffilament-authentication-log/lists"}