PHPackages                             coroxx/evilanalytics - 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. coroxx/evilanalytics

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

coroxx/evilanalytics
====================

A powerful and opensource analytics tool for your Laravel applications

1.4.7(4y ago)1271MITBlade

Since Aug 9Pushed 4y ago2 watchersCompare

[ Source](https://github.com/Coroxx/EvilAnalytics)[ Packagist](https://packagist.org/packages/coroxx/evilanalytics)[ RSS](/packages/coroxx-evilanalytics/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (2)Versions (11)Used By (0)

 [![](https://camo.githubusercontent.com/84dc3abdb5e17d4c1a9ac950e2e22eb83c94c75893f2c6cd467168f92e0d5a74/68747470733a2f2f656d6f6a6970656469612d75732e73332e6475616c737461636b2e75732d776573742d312e616d617a6f6e6177732e636f6d2f7468756d62732f3132302f6170706c652f3238352f76616d706972655f6c696768742d736b696e2d746f6e655f31663964622d31663366625f31663366622e706e67)](https://camo.githubusercontent.com/84dc3abdb5e17d4c1a9ac950e2e22eb83c94c75893f2c6cd467168f92e0d5a74/68747470733a2f2f656d6f6a6970656469612d75732e73332e6475616c737461636b2e75732d776573742d312e616d617a6f6e6177732e636f6d2f7468756d62732f3132302f6170706c652f3238352f76616d706972655f6c696768742d736b696e2d746f6e655f31663964622d31663366625f31663366622e706e67) EvilAnalytics
===============

[](#-evilanalytics-)

 **Track devices, countries, requests, routes and many other with EvilAnalytics ! Version 1.4**

- [Screenshots of the dashboard (Captures d'écrans du panel)](https://github.com/Coroxx/EvilAnalytics#screen) 📷

Documentation language
----------------------

[](#documentation-language)

- [French](https://github.com/Coroxx/EvilAnalytics#fr) 🇫🇷
- [English](https://github.com/Coroxx/EvilAnalytics#ang) 🇬🇧

 **### 🔒 Privacy

[](#-privacy)

You are the master of your data, all analytical data are stored in your database.** ### Changelog : V1.4 🤖

[](#changelog--v14-)

 *Analytical data is now much more accurate !*

### Changelog : V1.2 🇫🇷-🇬🇧

[](#changelog--v12---)

 *The dashboard is now available in French 🇫🇷 and English 🇬🇧 languages*

 *Installation problems? Contact me on discord : Corox#2729*  👾

Getting Started
---------------

[](#getting-started)

 *Install EvilAnalytics is pretty easy !*  😎

```
composer require coroxx/evilanalytics

php artisan vendor:publish --provider="coroxx\evilanalytics\EvilanalyticsServiceProvider"

php artisan vendor:publish --provider="Stevebauman\Location\LocationServiceProvider"

```

 **To significantly increase the accuracy of the analytical data you should include in your App/Console/Kernel.php file this function in the :**

**`protected function schedule(Schedule $schedule)`**

[![code](https://camo.githubusercontent.com/66151c7f366e5c1d8fda4536ba62c38f8eb49651b9a12e0217e78436c303426e/68747470733a2f2f692e6962622e636f2f38374677636e4e2f696d6167652e706e67)](https://camo.githubusercontent.com/66151c7f366e5c1d8fda4536ba62c38f8eb49651b9a12e0217e78436c303426e/68747470733a2f2f692e6962622e636f2f38374677636e4e2f696d6167652e706e67)

 **(See the Kernel.php file at the root)**

### Then run the task **every hour** on your server

[](#then-run-the-task-every-hour-on-your-server)

`php artisan schedule:run`

### This will eliminate a large part of the bots every hour

[](#this-will-eliminate-a-large-part-of-the-bots-every-hour)

> ## You have almost finished your installation 😇
>
> [](#you-have-almost-finished-your-installation-)

Run your migrations to create the calls table :

```
php artisan migrate

```

 **Now you have to configure the Middleware in your web.php file like this :**
[![code](https://camo.githubusercontent.com/6158e6ae3dfd1f2a45b3a9ace2197a269b893548abb0dd1a3afbcec6422656f3/68747470733a2f2f692e6962622e636f2f5164333757424e2f696d6167652e706e67)](https://camo.githubusercontent.com/6158e6ae3dfd1f2a45b3a9ace2197a269b893548abb0dd1a3afbcec6422656f3/68747470733a2f2f692e6962622e636f2f5164333757424e2f696d6167652e706e67)

### Good work! 👍

[](#good-work-)

Now acces to the dashboard with /analytics/en ✅

Caution 🚨
---------

[](#caution-)

 **Don't forget to name all your routes, otherwise you won't have an accurate tracking of the number of visits of each page

Don't forget that as such, the panel is accessible by everyone, so don't hesitate to set up a login system to access it :**

**For this, modify /vendor/coroxx/evilanalytics/src/routes/web.php**

Guide d'installation
--------------------

[](#guide-dinstallation)

 *Installer EvilAnalytics est plutôt simple !*  😎

```
composer require coroxx/evilanalytics

php artisan vendor:publish --provider="coroxx\evilanalytics\EvilanalyticsServiceProvider"

php artisan vendor:publish --provider="Stevebauman\Location\LocationServiceProvider"

```

 **Pour augmenter nettement la précision des données analytiques vous devez inclure dans votre fichier App/Console/Kernel.php cette fonction dans la fonction :**

**`protected function schedule(Schedule $schedule)`**

[![code](https://camo.githubusercontent.com/66151c7f366e5c1d8fda4536ba62c38f8eb49651b9a12e0217e78436c303426e/68747470733a2f2f692e6962622e636f2f38374677636e4e2f696d6167652e706e67)](https://camo.githubusercontent.com/66151c7f366e5c1d8fda4536ba62c38f8eb49651b9a12e0217e78436c303426e/68747470733a2f2f692e6962622e636f2f38374677636e4e2f696d6167652e706e67)

 **(Voir le fichier Kernel.php à la racine)**

### Puis exécuter la tâche  **toutes les heures**  sur votre serveur

[](#puis-exécuter-la-tâche--toutes-les-heures--sur-votre-serveur)

`php artisan schedule:run`

### Ce qui va éliminer une grande partie des bots toutes les heures

[](#ce-qui-va-éliminer-une-grande-partie-des-bots-toutes-les-heures)

> ## Vous touchez à la fin de l'installation 😇
>
> [](#vous-touchez-à-la-fin-de-linstallation-)

Lancez vos migrations pour créer la table calls avec :

```
php artisan migrate

```

 **Il ne vous reste plus qu'à à ajouter le Middleware dans votre fichier web.php comme l'exemple le montre :**
[![code](https://camo.githubusercontent.com/d4b791979ef79319d1dd6222245308b4553ef3c89a955c91a55d4561a476d597/68747470733a2f2f692e6962622e636f2f567044384776572f696d6167652e706e67)](https://camo.githubusercontent.com/d4b791979ef79319d1dd6222245308b4553ef3c89a955c91a55d4561a476d597/68747470733a2f2f692e6962622e636f2f567044384776572f696d6167652e706e67)

### Bon travail chef ! 👍

[](#bon-travail-chef--)

Maintenant accédez au panel avec l'url /analytics/fr ✅

Attention 🚨
-----------

[](#attention-)

 **N'oubliez pas de nommer toutes vos routes, sinon vous n'aurez pas de suivi précis sur le nombre de visite de chaque pages

N'oubliez pas que comme tel, le panel est accessible par tout le monde, n'hésitez pas à mettre en place à un sytème de login pour y accéder**

**Pour cela, il faut modifier les routes /vendor/coroxx/evilanalytics/src/routes/web.php**

Screenshots / Captures d'écran
==============================

[](#screenshots--captures-décran)

[![code](https://camo.githubusercontent.com/09a7e05ba74db2997b2a8f3f8be6f0e7f3e6661af52d73ad091e0d495ae99a8c/68747470733a2f2f692e6962622e636f2f744a47383154392f696d6167652e706e67)](https://camo.githubusercontent.com/09a7e05ba74db2997b2a8f3f8be6f0e7f3e6661af52d73ad091e0d495ae99a8c/68747470733a2f2f692e6962622e636f2f744a47383154392f696d6167652e706e67)[![code](https://camo.githubusercontent.com/7cb917379858e9d85b8b58edab8e459ddd25a05c3d6492a9311d9ba55e6f728c/68747470733a2f2f692e6962622e636f2f44356e775259322f696d6167652e706e67)](https://camo.githubusercontent.com/7cb917379858e9d85b8b58edab8e459ddd25a05c3d6492a9311d9ba55e6f728c/68747470733a2f2f692e6962622e636f2f44356e775259322f696d6167652e706e67)[![code](https://camo.githubusercontent.com/20e681f295f723b5e1d2651914bf361f27184442bb07ba9ff2ecd93c66201eec/68747470733a2f2f692e6962622e636f2f706e62665346782f696d6167652e706e67)](https://camo.githubusercontent.com/20e681f295f723b5e1d2651914bf361f27184442bb07ba9ff2ecd93c66201eec/68747470733a2f2f692e6962622e636f2f706e62665346782f696d6167652e706e67)

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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 ~4 days

Total

10

Last Release

1696d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/30ded450265f968a441f99ef5c0203816ea1d2363fbdff7fae73f05a28f7cab1?d=identicon)[Corox](/maintainers/Corox)

---

Top Contributors

[![Coroxx](https://avatars.githubusercontent.com/u/45209113?v=4)](https://github.com/Coroxx "Coroxx (46 commits)")

---

Tags

analyticslaravelphpprivacystats

### Embed Badge

![Health badge](/badges/coroxx-evilanalytics/health.svg)

```
[![Health](https://phpackages.com/badges/coroxx-evilanalytics/health.svg)](https://phpackages.com/packages/coroxx-evilanalytics)
```

###  Alternatives

[hisorange/browser-detect

Browser &amp; Mobile detection package for Laravel.

1.1k10.1M50](/packages/hisorange-browser-detect)[reefki/laravel-device-detector

Laravel wrapper for Matomo's Universal Device Detection library.

2852.6k](/packages/reefki-laravel-device-detector)[acsiomatic/device-detector-bundle

Symfony Bundle for https://github.com/matomo-org/device-detector

12183.6k](/packages/acsiomatic-device-detector-bundle)[diego-ninja/laravel-devices

This package provides session tracking functionalities, multi-session management and user device management features for laravel applications.

763.1k2](/packages/diego-ninja-laravel-devices)

PHPackages © 2026

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