Skip to content

nickdekruijk/pageviews

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Track pageviews in your Laravel app

Latest Stable Version Latest Unstable Version Monthly Downloads Total Downloads License

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.

Installation

You can install the package via composer:

composer require nickdekruijk/pageviews

Getting started

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',
        ],

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

About

Track pageviews in your Laravel app

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published