PHPackages                             frengky/laravel-auditable - 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. frengky/laravel-auditable

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

frengky/laravel-auditable
=========================

Laravel Eloquent Model Auditing

03PHP

Since Mar 31Pushed 5y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel Eloquent Model Auditing
===============================

[](#laravel-eloquent-model-auditing)

Introduction
------------

[](#introduction)

This package help audit model data changes, during create, update, and deleting (audit trail)

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

[](#installation)

1. Installing the package

```
$ composer require frengky/laravel-auditable
```

2. Add the service provider to your `config/app.php`

```
Frengky\Auditable\ServiceProvider::class

```

Usage
-----

[](#usage)

Use the `Auditable` trait to your model:

```

```

Now you can call the trait method, everytime you make changes with your model:

```
// After creating new record
$yourModel = YourModel::create(['title' => 'Foo']);
$yourModel->auditCreating();

// Before saving updated record
$yourModel->auditUpdating();
$yourModel->save();

// After deleting a record
$yourModel->destroy($id);
$yourModel->auditDeleting();
```

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity30

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://avatars.githubusercontent.com/u/4408112?v=4)[Frengky](/maintainers/frengky)[@frengky](https://github.com/frengky)

---

Top Contributors

[![frengky](https://avatars.githubusercontent.com/u/4408112?v=4)](https://github.com/frengky "frengky (2 commits)")

### Embed Badge

![Health badge](/badges/frengky-laravel-auditable/health.svg)

```
[![Health](https://phpackages.com/badges/frengky-laravel-auditable/health.svg)](https://phpackages.com/packages/frengky-laravel-auditable)
```

###  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)
