PHPackages                             yudhatp/laravel-activity-logs - 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. yudhatp/laravel-activity-logs

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

yudhatp/laravel-activity-logs
=============================

Simple Activity Log for Laravel

0.0.5(2mo ago)2125MITPHPPHP ^7.3|^8.0

Since Nov 26Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/yudhatp/laravel-activity-logs)[ Packagist](https://packagist.org/packages/yudhatp/laravel-activity-logs)[ Docs](https://github.com/yudhatp/laravel-activity-logs)[ RSS](/packages/yudhatp-laravel-activity-logs/feed)WikiDiscussions main Synced today

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

Laravel Activity Logs
=====================

[](#laravel-activity-logs)

Simple and Usefull Activity Log for Laravel.

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

[](#installation)

You can install the package via composer:

```
composer require yudhatp/laravel-activity-logs
```

You can publish and run the migrations with:

```
php artisan migrate
```

You can publish config file with:

```
php artisan vendor:publish --tag=yudhatp-activity-logs-config
```

Usage
-----

[](#usage)

### Auto Logging

[](#auto-logging)

on "kernel.php", add this line on your "protected $middlewareGroups"

```
'web' => [
    ...
    \Yudhatp\ActivityLogs\Middleware\ActivityLogMiddleware::class,
    ...
],
```

in the config file, you can determine what data will be stored in "user\_id". at default, the data that will be stored is the "id" field but you can manually change this at "user" data. for example :

```
'user' => 'employee_id'
```

### Manual Logging

[](#manual-logging)

on your controller, write this code :

```
use Yudhatp\ActivityLogs\ActivityLogs;
ActivityLogs::log(auth()->user()->id, $request->ip(), 'Profile', 'View/Edit Profile');
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

License
-------

[](#license)

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

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance86

Actively maintained with recent releases

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity44

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

Total

5

Last Release

66d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4480da28c2fda04c27fc3dfb25aedabe9c90d8a21b5ca272354fa49c3f740354?d=identicon)[yudhatp](/maintainers/yudhatp)

---

Top Contributors

[![yudhatp](https://avatars.githubusercontent.com/u/21326075?v=4)](https://github.com/yudhatp "yudhatp (8 commits)")

---

Tags

activity-loglaravellogloglaravelActivity Logs

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/yudhatp-laravel-activity-logs/health.svg)

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

###  Alternatives

[guanguans/laravel-exception-notify

Monitor exception and report to the notification channels(Dump、Log、Mail、AnPush、Bark、Chanify、DingTalk、Discord、Gitter、GoogleChat、IGot、Lark、Mattermost、MicrosoftTeams、NowPush、Ntfy、Push、Pushback、PushBullet、PushDeer、PushMe、Pushover、PushPlus、QQ、RocketChat、ServerChan、ShowdocPush、SimplePush、Slack、Telegram、WeWork、WPush、XiZhi、YiFengChuanHua、ZohoCliq、ZohoCliqWebHook、Zulip).

14241.9k1](/packages/guanguans-laravel-exception-notify)[hosmelq/laravel-logsnag

Integrate the power of LogSnag's real-time event tracking into your Laravel application.

237.8k](/packages/hosmelq-laravel-logsnag)

PHPackages © 2026

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