PHPackages                             nickdekruijk/laravel-visitors - 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. nickdekruijk/laravel-visitors

ActiveLibrary

nickdekruijk/laravel-visitors
=============================

A simple, privacy friendly visitor tracking for Laravel applications.

0.5.1(1y ago)3108MITPHPPHP &gt;=8.1

Since Apr 16Pushed 1y ago1 watchersCompare

[ Source](https://github.com/nickdekruijk/laravel-visitors)[ Packagist](https://packagist.org/packages/nickdekruijk/laravel-visitors)[ RSS](/packages/nickdekruijk-laravel-visitors/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (22)Used By (0)

Laravel Visitors
================

[](#laravel-visitors)

A simple, privacy friendly visitor tracking for Laravel applications.

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

[](#installation)

Begin by installing this package with composer.

`composer require nickdekruijk/laravel-visitors`

### Configuration

[](#configuration)

Publish the config file if the defaults doesn't suite your needs:

`php artisan vendor:publish --provider="NickDeKruijk\LaravelVisitors\ServiceProvider"`

### Separate databases

[](#separate-databases)

You might want to separate the visitors database from the main application database for performance or to avoid conflicts. Add a new connection in your `config/database.php` connections array for example:

```
        'visitors' => [
            'driver' => 'sqlite',
            'database' => database_path('visitors.sqlite'),
        ],
```

And change db\_connection configuration in the `config/visitors.php` file or add VISITORS\_DB\_CONNECTION in your .env file.

### Include tracker

[](#include-tracker)

Add `@include('laravel-visitors::track')` inside your view, a good spot might be directly after the &lt;head&gt; tag in your `app.blade.php` layout file, for example:

```
>

        @include('laravel-visitors::track')

```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

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

Recently: every ~13 days

Total

21

Last Release

695d ago

PHP version history (2 changes)0.1.0PHP &gt;=8.2

0.2.1PHP &gt;=8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/0b01fc7c2c39bbe8f87b4afa70ffe1cf2bb787310e1d22fcfed6ae527d4573bb?d=identicon)[nickdekruijk](/maintainers/nickdekruijk)

---

Top Contributors

[![nickdekruijk](https://avatars.githubusercontent.com/u/607302?v=4)](https://github.com/nickdekruijk "nickdekruijk (41 commits)")

---

Tags

laraveltrackinganalyticsvisitorspageviews

### Embed Badge

![Health badge](/badges/nickdekruijk-laravel-visitors/health.svg)

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

###  Alternatives

[cornford/googlitics

An easy way to integrate Google Analytics with Laravel.

3310.2k](/packages/cornford-googlitics)

PHPackages © 2026

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