prajwal89/analytics
最新稳定版本:v0.1.1
Composer 安装命令:
composer require prajwal89/analytics
包简介
inhouse analytics solution with filament pane
README 文档
README
Installation
-
Register the plugin in your admin panel.
-
Publish the JavaScript file using:
php artisan vendor:publish --tag=analytics-assets -
exclude the route from csrf checking
$middleware->validateCsrfTokens(except: [ '/api/an' ]);
-
Register
PageViewsTrendChart::classas a dashboard widget (optional). -
Register
PageViewsDoughnutChart::classas a dashboard widget (optional). -
Download the GeoLite database required for location data of the users using:
php artisan analytics:sync-geolite-db -
Add the following to your scheduler to update the database periodically (ideally every 30 days) (optional but recommended):
Schedule::command('analytics:sync-geolite-db') ->withoutOverlapping() ->twiceMonthly();
Configuration
统计信息
- 总下载量: 118
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-04-09