prajwal89/analytics

inhouse analytics solution with filament pane

v0.1.0 2025-04-06 13:56 UTC

This package is auto-updated.

Last update: 2025-04-09 19:39:32 UTC


README

Installation

  • Register the plugin in your admin panel.
  • Publish the JavaScript file using: php artisan vendor:publish --tag=analytics-assets
  • Register PageViewsTrendChart::class as a dashboard widget (optional).
  • Register PageViewsDoughnutChart::class as a dashboard widget (optional).
  • Download the GeoLite database required for location data of the users using:
    php artisan analytics:sync-geolite-db-command
  • Add the following to your scheduler to update the database periodically (ideally every 30 days) (optional but recommended):
Schedule::command('analytics:sync-geolite-db-command')
    ->withoutOverlapping()
    ->twiceMonthly();

Configuration