JustinWang24 / statistics-laravel by justinwangyue

Visitor's behavior statistics by using machine auto learning
30
9
2
Package Data
Maintainer Username: justinwangyue
Maintainer Contact: justinwang24@yahoo.com.au (Justin Wang)
Package Create Date: 2017-07-18
Package Last Update: 2017-07-21
Language: PHP
License: MIT
Last Refreshed: 2025-02-06 03:03:59
Package Statistics
Total Downloads: 30
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 9
Total Watchers: 2
Total Forks: 1
Total Open Issues: 0

laravel-statistics

Installation

composer require newflit/statistics-laravel

Register ServiceProvider

Newflit\Statistics\ServiceProvider::class,

Add Statistics middleware into 'web' group. (app\Http\Kernel.php)

\Newflit\Statistics\Middleware\Statistics::class,

Before Use, step 1: To create some database tables

php artisan migrate

Before Use, step 2: To publish the configuration file

php artisan vendor:publish

Before Use, step 3: Please make sure import jQuery in the header in any page you want track.

License

MIT