jeffersongoncalves / filament-page-visits
Filament admin resource for jeffersongoncalves/laravel-page-visits — browse and inspect tracked page visits from a Filament panel.
Package info
github.com/jeffersongoncalves/filament-page-visits
pkg:composer/jeffersongoncalves/filament-page-visits
Requires
- php: ^8.2
- filament/filament: ^5.0
- jeffersongoncalves/laravel-page-visits: ^1.0
- spatie/laravel-package-tools: ^1.16
Requires (Dev)
- larastan/larastan: ^2.0|^3.0
- laravel/pint: ^1.0
- orchestra/testbench: ^10.0|^11.0
- pestphp/pest: ^3.0|^4.0
- pestphp/pest-plugin-livewire: ^3.0|^4.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Filament Page Visits
A read-only Filament admin resource for
jeffersongoncalves/laravel-page-visits — the
headless core package that tracks page-view visits on your app's public routes (device, browser, geo, locale,
referer, UTM). This package owns no models, migrations or tracking logic of its own: it is purely the
presentation layer (a Resource, Pages, widgets) built on top of the core's PageVisit model.
Compatibility
filament-page-visits |
laravel-page-visits |
Filament |
|---|---|---|
| 1.x | ^1.0 |
v3 |
| 2.x | ^1.0 |
v4 |
| 3.x | ^1.0 |
v5 |
laravel-page-visitsrequires Laravel 12 or 13 (illuminate/contracts: ^12.0|^13.0) on every branch — see the note below if a given Filament major doesn't hold up against that floor in practice.
What's included
PageVisitResource— a browsable, filterable list of tracked visits (date/time, path, method, status code, device, browser, OS, country, referer type, bot flag), with a detail view grouped into Request, Device, Location, Referer & UTM, Bot/Risk flags and Fingerprint sections. The resource is intentionally read-only (no create, edit or delete) — visits are an append-only audit log written by the core package.StatsOverview— total visits, visits today, bot %, top country.HourlyChart— visits per hour for the last 24h.- pt_BR and en translations.
This plugin has no config file of its own — table name, tracked fields, excluded paths and retention are all
configured on laravel-page-visits' own config/page-visits.php (see that package's README).
Installation
You can install the package via composer:
composer require jeffersongoncalves/filament-page-visits:"^3.0"
This pulls in jeffersongoncalves/laravel-page-visits (^1.0) as a dependency. Publish and run its migration
per that package's own installation instructions, then register the plugin in your PanelProvider:
use JeffersonGoncalves\Filament\PageVisits\FilamentPageVisitsPlugin; public function panel(Panel $panel): Panel { return $panel ->plugins([ FilamentPageVisitsPlugin::make(), ]); }
Testing
composer test # Pest composer analyse # PHPStan (Larastan) composer format # Pint
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.
