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

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

nickdekruijk/pageviews
======================

Track pageviews in your Laravel app

151PHP

Since Jan 14Pushed 1y ago1 watchersCompare

[ Source](https://github.com/nickdekruijk/pageviews)[ Packagist](https://packagist.org/packages/nickdekruijk/pageviews)[ RSS](/packages/nickdekruijk-pageviews/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

Track pageviews in your Laravel app
===================================

[](#track-pageviews-in-your-laravel-app)

[![Latest Stable Version](https://camo.githubusercontent.com/e79703877c364fe35556b7daa5f37135b1c7d0f4332534947796bc3153375aac/68747470733a2f2f706f7365722e707567782e6f72672f6e69636b64656b7275696a6b2f7061676576696577732f762f737461626c65)](https://packagist.org/packages/nickdekruijk/pageviews)[![Latest Unstable Version](https://camo.githubusercontent.com/0569b629f3a8e65a66fb5c17e19cd8de3e90b3ce31c0e8150839ff4ad3441e81/68747470733a2f2f706f7365722e707567782e6f72672f6e69636b64656b7275696a6b2f7061676576696577732f762f756e737461626c65)](https://packagist.org/packages/nickdekruijk/pageviews)[![Monthly Downloads](https://camo.githubusercontent.com/85b6971a36ec313b333bb01a9b9153dd954eb148a78b02c0b0bd2f7cd49d4f1c/68747470733a2f2f706f7365722e707567782e6f72672f6e69636b64656b7275696a6b2f7061676576696577732f642f6d6f6e74686c79)](https://packagist.org/packages/nickdekruijk/pageviews)[![Total Downloads](https://camo.githubusercontent.com/0fc28b8e0ea04a373ddf7bff5ce5d7781c5bc91b4c4a5c1d41747e2ddb5a2e4c/68747470733a2f2f706f7365722e707567782e6f72672f6e69636b64656b7275696a6b2f7061676576696577732f646f776e6c6f616473)](https://packagist.org/packages/nickdekruijk/pageviews)[![License](https://camo.githubusercontent.com/73368b2d0b99b07608ba3c869f011689e26dd0790ee7775eeb96304c8200ee48/68747470733a2f2f706f7365722e707567782e6f72672f6e69636b64656b7275696a6b2f7061676576696577732f6c6963656e7365)](https://packagist.org/packages/nickdekruijk/pageviews)

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
------------

[](#installation)

You can install the package via composer:

```
composer require nickdekruijk/pageviews
```

Getting started
---------------

[](#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](https://github.com/nickdekruijk/admin) package

[](#integrate-viewing-statistics-into-nickdekruijkadmin--package)

Add this to the modules array in `config/admin.php`:

```
        'pageviews' => [
            'view' => 'pageviews::admin',
            'icon' => 'fa-area-chart',
        ],
```

### Security

[](#security)

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

Credits
-------

[](#credits)

- [Nick de Kruijk](https://github.com/nickdekruijk)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity16

Early-stage or recently created project

 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.

### 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 (50 commits)")

### Embed Badge

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

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

###  Alternatives

[germey/geetest

Geetest Package for Laravel5

15781.4k2](/packages/germey-geetest)[tonysm/tailwindcss-laravel

This package wraps up the standalone executable version of the Tailwind CSS framework.

26613.3k1](/packages/tonysm-tailwindcss-laravel)[rmunate/php2js

Effortlessly share PHP Laravel values with external JavaScript files using just one command, thanks to the seamless integration of PHP2JS.

2068.2k](/packages/rmunate-php2js)[fico7489/laravel-revisionable-upgrade

Upgrade for the venturecraft revisionable package, add many useful methods.

5339.2k](/packages/fico7489-laravel-revisionable-upgrade)[magiccart/magicslider

Banner slider flexibly to any page on live store.

1722.7k](/packages/magiccart-magicslider)[guennichi/mapper

A lightweight library to map array data to PHP immutable objects

1213.3k](/packages/guennichi-mapper)

PHPackages © 2026

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