PHPackages                             neelbhanushali/laravel-audit-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. neelbhanushali/laravel-audit-log

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

neelbhanushali/laravel-audit-log
================================

Audit Log for Laravel

v1.0(6y ago)025MITPHP

Since Oct 28Pushed 6y ago1 watchersCompare

[ Source](https://github.com/neelbhanushali/laravel-audit-log)[ Packagist](https://packagist.org/packages/neelbhanushali/laravel-audit-log)[ RSS](/packages/neelbhanushali-laravel-audit-log/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)DependenciesVersions (2)Used By (0)

laravel-audit-log
=================

[](#laravel-audit-log)

Audit Log for laravel

- Use `NeelBhanushali\LaravelAuditLog\Traits\Auditable` trait in your model.

For advance use
---------------

[](#for-advance-use)

- Lets say you need to audit `roles` but as per `users`.
- Use case: You need to check what/when `roles` were assigned to `users`.
- Add following `AUDIT` constant

```
const AUDIT = [
    'relation' => 'token',
    'entity_id' => 'key',
    'entity_type' => Token::class,
    'parent_id' => 'user_id',
    'parent_type' => User::class
];

```

- `entity_id`, `parent_id` can have following values:

    - `key` : gets value of primary key of current record
    - `column_name` : gets value of column from current record
- `entity_type`, `parent_type` can have following values:

    - `class_path`
    - `column_name` : gets value of column from current record (in case of morph)

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

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

Unknown

Total

1

Last Release

2389d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/00a6b9a0e1fdaa0c6f4767138ebc14ab0caaa18baaddfb7c0d9c0fbd424d11a8?d=identicon)[neelbhanushali](/maintainers/neelbhanushali)

---

Top Contributors

[![neelbhanushali](https://avatars.githubusercontent.com/u/29022906?v=4)](https://github.com/neelbhanushali "neelbhanushali (21 commits)")

### Embed Badge

![Health badge](/badges/neelbhanushali-laravel-audit-log/health.svg)

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

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B9.2k](/packages/psr-log)[itsgoingd/clockwork

php dev tools in your browser

5.9k27.6M94](/packages/itsgoingd-clockwork)[graylog2/gelf-php

A php implementation to send log-messages to a GELF compatible backend like Graylog2.

41838.2M138](/packages/graylog2-gelf-php)[bugsnag/bugsnag-psr-logger

Official Bugsnag PHP PSR Logger.

32132.5M2](/packages/bugsnag-bugsnag-psr-logger)[consolidation/log

Improved Psr-3 / Psr\\Log logger based on Symfony Console components.

15462.2M7](/packages/consolidation-log)[datadog/php-datadogstatsd

An extremely simple PHP datadogstatsd client

19124.6M15](/packages/datadog-php-datadogstatsd)

PHPackages © 2026

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