PHPackages                             rollswan/audit-trail - 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. rollswan/audit-trail

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

rollswan/audit-trail
====================

A library package used to logs activities/transactions made in your application.

1.0.12(4y ago)132MITPHPPHP &gt;=7.0.0

Since Sep 2Pushed 4y ago1 watchersCompare

[ Source](https://github.com/rollswan-acebedo/audit-trail)[ Packagist](https://packagist.org/packages/rollswan/audit-trail)[ RSS](/packages/rollswan-audit-trail/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (3)Versions (3)Used By (0)

Audit Trail
===========

[](#audit-trail)

A library package used to logs activities/transactions made in your web application.

### Installation

[](#installation)

1. Run in terminal:

```
composer require rollswan/audit-trail
```

2. Register the package

- *Laravel 5.5 and up*
    Uses package auto discovery feature, no need to edit the `config/app.php` file.
- *Laravel 5.4 and below*
    Register the package with laravel in `config/app.php` under `providers` with the following:

```
'providers' => [
    Rollswan\AuditTrail\Providers\AuditTrailServiceProvider::class,
];
```

3. Migrate `audit_trails` table by running:

```
php artisan migrate
```

4. Publish config file by running:

```
php artisan vendor:publish --provider="Rollswan\AuditTrail\Providers\AuditTrailServiceProvider"
```

```
php artisan vendor:publish --tag="audit-trail"
```

### How to use?

[](#how-to-use)

1. Use `audit-trail` via middleware

```
Route::group(['middleware' => ['web', 'audit-trail']], function () {
    Route::get('/dashboard', 'HomeController@index')->name('dashboard');
});
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

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

Every ~5 days

Total

2

Last Release

1704d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/30310708?v=4)[rollswan](/maintainers/rollswan)[@Rollswan](https://github.com/Rollswan)

---

Top Contributors

[![rollswan-acebedo](https://avatars.githubusercontent.com/u/62542042?v=4)](https://github.com/rollswan-acebedo "rollswan-acebedo (1 commits)")

### Embed Badge

![Health badge](/badges/rollswan-audit-trail/health.svg)

```
[![Health](https://phpackages.com/badges/rollswan-audit-trail/health.svg)](https://phpackages.com/packages/rollswan-audit-trail)
```

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B9.1k](/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.2M137](/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)
