PHPackages                             epmnzava/audit\_trails - 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. epmnzava/audit\_trails

ActiveLibrary

epmnzava/audit\_trails
======================

Helps you setup audit trails fast on laravel applications

2.0.7(11mo ago)08882MITPHPPHP ^7.4|^8.0|^8.1|^8.2CI failing

Since Oct 28Pushed 11mo ago1 watchersCompare

[ Source](https://github.com/dbrax/audit_trails)[ Packagist](https://packagist.org/packages/epmnzava/audit_trails)[ Docs](https://github.com/epmnzava/audit_trails)[ RSS](/packages/epmnzava-audit-trails/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (3)Versions (18)Used By (0)

[![Latest Version on Packagist](https://camo.githubusercontent.com/8ec0a2254ac830fd050b8ca4bd108701ae6a4b8e0b108c0b782d94c53e19d65a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f65706d6e7a6176612f61756469745f747261696c732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/epmnzava/audit_trails)[![Total Downloads](https://camo.githubusercontent.com/8d3ae7cb3235ed95edb2f9be1a5c71b5efb5fe2dfe6de0bfa5bd3d1c2579e954/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f65706d6e7a6176612f61756469745f747261696c732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/epmnzava/audit_trails)[![GitHub Actions](https://github.com/epmnzava/audit_trails/actions/workflows/main.yml/badge.svg)](https://github.com/epmnzava/audit_trails/actions/workflows/main.yml/badge.svg)

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

[](#installation)

You can install the package via composer:

```
composer require epmnzava/audit_trails
```

Usage
-----

[](#usage)

```
//below is how you can use this package to log activities
   public function test_log(Request $request)
    {

        //log_audit(string $event, string $event_category, array $request, array $response, string $ip, string $fullUrl, string $device, string $comment,  $userid = null,$createdby=null $request_id = null, $session_id = null)
        log_audit("LOGIN", "MEMBER AUTHENTICATION", $request->all(), ["status" => 200, "message" => "success"], $request->ip(), $request->fullUrl(), $request->userAgent(), "System member has successfully login", 1,2 null, null);

    }

    //output
       id: 1
         event: LOGIN
event_category: MEMBER AUTHENTICATION
       request: []
      response: {"status":200,"message":"success"}
            ip: 127.0.0.1
        device: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36
       fullUrl: http://packagetester.test/test_log
       comment: System member has successfully login
        userid: 1
    created_by: 2
    request_id: NULL
    session_id: NULL
    created_at: 2022-10-29 07:22:52
    updated_at: 2022-10-29 07:22:52
```

### Testing

[](#testing)

```
composer test
```

### Changelog

[](#changelog)

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

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Emmanuel Mnzava](https://github.com/epmnzava)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

40

—

FairBetter than 87% of packages

Maintenance54

Moderate activity, may be stable

Popularity18

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity67

Established project with proven stability

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

Recently: every ~96 days

Total

17

Last Release

350d ago

Major Versions

1.0.9 → 2.0.02024-04-20

PHP version history (4 changes)1.0.0PHP ^7.4|^8.0

1.0.8PHP ^7.1|^7.2|^7.3|^7.4|^8.0|^8.1

2.0.0PHP ^7.4|^8.0|^8.1

2.0.7PHP ^7.4|^8.0|^8.1|^8.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8592847?v=4)[Emmanuel Paul Mnzava](/maintainers/dbrax)[@dbrax](https://github.com/dbrax)

---

Top Contributors

[![dbrax](https://avatars.githubusercontent.com/u/8592847?v=4)](https://github.com/dbrax "dbrax (25 commits)")

---

Tags

audit-logaudit-traillaravelphpepmnzavaaudit\_trails

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/epmnzava-audit-trails/health.svg)

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

PHPackages © 2026

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