PHPackages                             shreyasarker/activitylog - 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. shreyasarker/activitylog

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

shreyasarker/activitylog
========================

Simple activity logging package for Laravel 12

v1.0.0(4mo ago)001MITPHPPHP ^8.2

Since Dec 27Pushed 4mo agoCompare

[ Source](https://github.com/shreyasarker/activitylog)[ Packagist](https://packagist.org/packages/shreyasarker/activitylog)[ RSS](/packages/shreyasarker-activitylog/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (5)Versions (2)Used By (0)

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

[](#activity-log-for-laravel)

A simple, lightweight activity logging package for Laravel 12.

Features
--------

[](#features)

- Log custom activities
- Polymorphic causer &amp; subject
- Configurable table name
- Request IP &amp; user-agent capture
- Fully tested with Orchestra Testbench

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

[](#installation)

```
composer require shreyasarker/activitylog
```

Usage
-----

[](#usage)

```
activity()
    ->event('post.created')
    ->performedOn($post)
    ->causedBy(auth()->user())
    ->withProperties(['title' => $post->title])
    ->log('Post created');

```

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

[](#configuration)

```
php artisan vendor:publish --tag=activitylog-config
php artisan vendor:publish --tag=activitylog-migrations
php artisan migrate

```

Author
------

[](#author)

Shreya Sarker 📧

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance74

Regular maintenance activity

Popularity1

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

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

Unknown

Total

1

Last Release

140d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7bca54ccd80fd614c3d159ab0d6de3be815f3000bfc1d2bcbf615b6699b7e02d?d=identicon)[shreyasarker](/maintainers/shreyasarker)

---

Top Contributors

[![shreyasarker](https://avatars.githubusercontent.com/u/12990165?v=4)](https://github.com/shreyasarker "shreyasarker (2 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/shreyasarker-activitylog/health.svg)

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

###  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)[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)[aedart/athenaeum

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

245.2k](/packages/aedart-athenaeum)[label84/laravel-auth-log

Log user authentication actions in Laravel.

3654.0k](/packages/label84-laravel-auth-log)[hryha/laravel-request-logger

A Laravel package to log requests and responses

102.2k](/packages/hryha-laravel-request-logger)

PHPackages © 2026

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