A simple pageviews counter/tracker for your Laravel Application. Still in early development. It will anonymize visitor ip addresses by default to respect privacy laws.
You can install the package via composer:
composer require nickdekruijk/pageviews
If you don't like the default configuration edit config/pageviews.php
after publishing the config file with:
php artisan vendor:publish --tag=config --provider="NickDeKruijk\Pageviews\PageviewsServiceProvider"
Then run the migration
php artisan migrate
Integrate viewing statistics into nickdekruijk/admin package
Add this to the modules array in config/admin.php
:
'pageviews' => [
'view' => 'pageviews::admin',
'icon' => 'fa-area-chart',
],
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.