PHPackages                             aldijakaria/laravel-activity-log - 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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. aldijakaria/laravel-activity-log

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

aldijakaria/laravel-activity-log
================================

a package to track user activity log

1.0.5(2y ago)253MITPHPPHP ^8.1.0

Since May 14Pushed 2y ago1 watchersCompare

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

READMEChangelog (1)Dependencies (4)Versions (7)Used By (0)

Laravel Activity Log
====================

[](#laravel-activity-log)

aldijakaria/laravel-activity-log is a Laravel package that allows you to log user activity in your Laravel application. It provides a middleware that can be added to your application's routes to track user activity.

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

[](#installation)

You can install the package via Composer:

```
composer require aldijakaria/laravel-activity-log
```

Migration
---------

[](#migration)

To migrate the package's database tables, use the following Artisan command:

```
php artisan migrate
```

This will create the necessary tables in your database for tracking user activity.

Usage
-----

[](#usage)

To use the package, add the TrackUserActivity middleware to your application's routes:

```
Route::get('/home', function () {
    return view('home');
})->middleware('track:your activity name');
```

This middleware will automatically log the user's activity to the database.

Configuration
-------------

[](#configuration)

You can customize the package's behavior by publishing its configuration file. To publish the configuration file, run the following command:

```
php artisan vendor:publish --provider="Aldijakaria\LaravelActivityLog\Providers\LaravelActivityLogProvider" --tag="config"
```

This will create a config/activity-log.php file in your application. You can modify this file to customize the package's behavior.

By default, the package will use the TRACK\_ACTIVITY\_LOG environment variable to determine whether to enable or disable activity logging. If this variable is not set, the package will default to logging activity.

To disable activity logging, you can set the TRACK\_ACTIVITY\_LOG environment variable to false:

```
TRACK_ACTIVITY_LOG=false
```

License
-------

[](#license)

The package is open-sourced software licensed under the MIT license.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

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

Total

6

Last Release

1094d ago

PHP version history (2 changes)1.0.0PHP &gt;=8.1.0

1.0.1PHP ^8.1.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/4da9d830111f3e86ddbe6cec6f54ff06e8f17136e170246fb7fb26dc185ee4de?d=identicon)[aldijakaria](/maintainers/aldijakaria)

---

Top Contributors

[![aldijakaria](https://avatars.githubusercontent.com/u/30276575?v=4)](https://github.com/aldijakaria "aldijakaria (14 commits)")

### Embed Badge

![Health badge](/badges/aldijakaria-laravel-activity-log/health.svg)

```
[![Health](https://phpackages.com/badges/aldijakaria-laravel-activity-log/health.svg)](https://phpackages.com/packages/aldijakaria-laravel-activity-log)
```

###  Alternatives

[spatie/laravel-activitylog

A very simple activity logger to monitor the users of your website or application

5.8k45.4M309](/packages/spatie-laravel-activitylog)[laravel/pulse

Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.

1.7k12.1M99](/packages/laravel-pulse)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[spatie/laravel-health

Monitor the health of a Laravel application

85810.0M83](/packages/spatie-laravel-health)[yadahan/laravel-authentication-log

Laravel Authentication Log provides authentication logger and notification for Laravel.

416632.8k5](/packages/yadahan-laravel-authentication-log)[laragear/two-factor

On-premises 2FA Authentication for out-of-the-box.

339785.3k8](/packages/laragear-two-factor)

PHPackages © 2026

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