PHPackages                             ssebetta/larnalytics - 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. ssebetta/larnalytics

ActivePackage

ssebetta/larnalytics
====================

A simple web analytics tool for laravel projects

1.0.6(1y ago)135MITBlade

Since Jul 9Pushed 1y ago1 watchersCompare

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

READMEChangelogDependencies (6)Versions (8)Used By (0)

Larnalytics
===========

[](#larnalytics)

Larnalytics is a simple site analytics package for Laravel applications.

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

[](#installation)

1. Require the package using Composer:

    ```
    composer require ssebetta/larnalytics
    ```
2. Publish the package's configuration and migration files:

    ```
    php artisan vendor:publish --provider="Ssebetta\Larnalytics\Providers\LarnalyticsServiceProvider"
    ```
3. Run the migrations to create the necessary database tables:

    ```
    php artisan migrate
    ```
4. Register the middleware in your `app/Http/Kernel.php` file:

    ```
    protected $middlewareGroups = [
        'web' => [
            // ...
            \Ssebetta\Larnalytics\Http\Middleware\TrackPageViews::class,
        ],
    ];
    ```

Extra
-----

[](#extra)

Run `php artisan route:cache` to access the `analytics/page-views` route

Usage
-----

[](#usage)

Larnalytics will automatically track page views and store the data in the `page_views` table.

Use `your-site-url/analytics/page-views` to access the frontend view.

You can log custom events using the `Analytics` helper:

```
use Ssebetta\Larnalytics\Helpers\Analytics;

Analytics::logEvent('event_name', ['key' => 'value']);
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity45

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

Total

7

Last Release

667d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2d3f1725bbee88f5e714361f1e92a53788ff440fb25ea50582b94d036e1a50cf?d=identicon)[ssebetta](/maintainers/ssebetta)

---

Top Contributors

[![ssebetta](https://avatars.githubusercontent.com/u/68326406?v=4)](https://github.com/ssebetta "ssebetta (19 commits)")

### Embed Badge

![Health badge](/badges/ssebetta-larnalytics/health.svg)

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

###  Alternatives

[neuron-core/neuron-ai

The PHP Agentic Framework.

1.8k245.3k20](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[flarum/core

Delightfully simple forum software.

211.3M1.9k](/packages/flarum-core)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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