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(6mo ago)001MITPHPPHP ^8.2

Since Dec 27Pushed 6mo agoCompare

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

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

32

—

LowBetter than 69% of packages

Maintenance68

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

188d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/12990165?v=4)[Shreya Sarker](/maintainers/shreyasarker)[@shreyasarker](https://github.com/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

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[mike-bronner/laravel-model-caching

Automatic caching for Eloquent models.

2.4k90.5k1](/packages/mike-bronner-laravel-model-caching)[api-platform/laravel

API Platform support for Laravel

58171.4k14](/packages/api-platform-laravel)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

45444.2k1](/packages/pressbooks-pressbooks)[simplestats-io/laravel-client

Server-side analytics for Laravel that follows the full funnel from visit to registration to payment, attributed to the channel that drove it. Revenue, MRR, churn and ad-spend profit (ROAS/CAC) per channel. GDPR compliant, ad-blocker proof.

5021.9k](/packages/simplestats-io-laravel-client)[fleetbase/core-api

Core Framework and Resources for Fleetbase API

1235.9k20](/packages/fleetbase-core-api)

PHPackages © 2026

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