PHPackages                             jervenclark/audits - 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. [Database &amp; ORM](/categories/database)
4. /
5. jervenclark/audits

ActiveLibrary[Database &amp; ORM](/categories/database)

jervenclark/audits
==================

Event auditing for Laravel models

219PHPCI failing

Since Nov 6Pushed 7y ago1 watchersCompare

[ Source](https://github.com/jervenclark/audits)[ Packagist](https://packagist.org/packages/jervenclark/audits)[ RSS](/packages/jervenclark-audits/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Audits
======

[](#audits)

[![Latest Version on Packagist](https://camo.githubusercontent.com/d18cb1ecac7de4e56292eb7c20447bd4ca92c76d7c4d08efefb61179c1825f63/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6a657276656e636c61726b2f6175646974732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/jervenclark/audits)[![Total Downloads](https://camo.githubusercontent.com/119e5b8d283d508d3cd9e67a310df46fb5e5060033f430048d4caba629be9a36/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6a657276656e636c61726b2f6175646974732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/jervenclark/audits)[![Build Status](https://camo.githubusercontent.com/2c6095376303bcb6af876f1da3c043d0a7c293c38bb296a9abe5bdc9cc00d5f2/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6a657276656e636c61726b2f6175646974732f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/jervenclark/audits)[![StyleCI](https://camo.githubusercontent.com/cb13a877afd1dbe223c631789c3f922d3ace958fdb334a9cce9b26afefbc2ebd/68747470733a2f2f7374796c6563692e696f2f7265706f732f31323334353637382f736869656c64)](https://styleci.io/repos/12345678)

Auditing for laravel models. Take a look at [contributing.md](contributing.md) to see a to do list.

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

[](#installation)

Via Composer

```
$ composer require jervenclark/audits
```

Usage
-----

[](#usage)

Add service provider on `config/app.php`

```
Jervenclark\Audits\AuditsServiceProvider::class
```

(Optional) Add class morphMap on `app/Providers/AppServiceProvider`

```
...
use Illuminate\Database\Eloquent\Relations\Relation;
...
Relation::morphMap([
    'App\Models\User'
]);
...
```

Change log
----------

[](#change-log)

Please see the [changelog](changelog.md) for more information on what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

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

[](#contributing)

Please see [contributing.md](contributing.md) for details and a todolist.

Security
--------

[](#security)

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

Credits
-------

[](#credits)

- [Jerven Clark Chua](https://github.com/jervenclark)
- [All Contributors](../../contributors%5D)

License
-------

[](#license)

MIT. Please see the [license file](license.md) for more information.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/0fbc920de4b6a44c94e9d955e5cd12693e84aca8a198814eb7de09e97a931ae5?d=identicon)[jervenclark](/maintainers/jervenclark)

---

Top Contributors

[![jervenclark](https://avatars.githubusercontent.com/u/8236178?v=4)](https://github.com/jervenclark "jervenclark (3 commits)")

### Embed Badge

![Health badge](/badges/jervenclark-audits/health.svg)

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

###  Alternatives

[doctrine/orm

Object-Relational-Mapper for PHP

10.2k285.3M6.2k](/packages/doctrine-orm)[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k115.1M102](/packages/jdorn-sql-formatter)[illuminate/database

The Illuminate Database package.

2.8k52.4M9.4k](/packages/illuminate-database)[mongodb/mongodb

MongoDB driver library

1.6k64.0M546](/packages/mongodb-mongodb)[ramsey/uuid-doctrine

Use ramsey/uuid as a Doctrine field type.

90340.3M211](/packages/ramsey-uuid-doctrine)[reliese/laravel

Reliese Components for Laravel Framework code generation.

1.7k3.4M16](/packages/reliese-laravel)

PHPackages © 2026

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