PHPackages                             newflit/statistics-laravel - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. newflit/statistics-laravel

ActiveProject[Utility &amp; Helpers](/categories/utility)

newflit/statistics-laravel
==========================

Visitor's behavior statistics by using machine auto learning

v1.0.3(8y ago)9301MITPHP

Since Jul 18Pushed 8y ago1 watchersCompare

[ Source](https://github.com/JustinWang24/statistics-laravel)[ Packagist](https://packagist.org/packages/newflit/statistics-laravel)[ RSS](/packages/newflit-statistics-laravel/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (4)Dependencies (3)Versions (6)Used By (0)

laravel-statistics
==================

[](#laravel-statistics)

To activate all features, please consider switching your application to a secure origin, such as HTTPS.

FYI, if still using insecure website, the location service is blocked.

This package is created for you to collect all your visitors behavior data and general a detailed report of how they interact with your web page, form and links etc. You might customise this package as you want.

Notice: this project is still under development. Please don't use it on the production server until the formal version released!

Installation
------------

[](#installation)

```
composer require newflit/statistics-laravel
```

Register `ServiceProvider`
--------------------------

[](#register-serviceprovider)

```
Newflit\Statistics\ServiceProvider::class,
```

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

[](#add-statistics-middleware-into-web-group-apphttpkernelphp)

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

### Before Use, step 1: To create some database tables

[](#before-use-step-1-to-create-some-database-tables)

```
php artisan migrate
```

### Before Use, step 2: To publish the configuration file

[](#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.

[](#before-use-step-3-please-make-sure-import-jquery-in-the-header-in-any-page-you-want-track)

License
-------

[](#license)

MIT

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity67

Established project with proven stability

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

4

Last Release

3222d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ca95e38db285a8761092332d235ca17b3c3740081b44262931f76d64fe35ce26?d=identicon)[justinwangyue](/maintainers/justinwangyue)

### Embed Badge

![Health badge](/badges/newflit-statistics-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/newflit-statistics-laravel/health.svg)](https://phpackages.com/packages/newflit-statistics-laravel)
```

###  Alternatives

[pocketmine/pocketmine-mp

A server software for Minecraft: Bedrock Edition written in PHP

3.5k74.6k86](/packages/pocketmine-pocketmine-mp)[flarum/core

Delightfully simple forum software.

211.3M1.9k](/packages/flarum-core)[fisharebest/webtrees

webtrees online genealogy

73710.5k13](/packages/fisharebest-webtrees)[oat-sa/lib-lti1p3-core

OAT LTI 1.3 Core Library

36341.9k10](/packages/oat-sa-lib-lti1p3-core)[erlandmuchasaj/laravel-gzip

Gzip your responses.

40129.3k2](/packages/erlandmuchasaj-laravel-gzip)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
