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

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

olsgreen/laravel-auditable
==========================

An easy to implement attribute audit log for Eloquent ORM in Laravel 4.X.

6299[1 PRs](https://github.com/olsgreen/laravel-auditable/pulls)PHP

Since Oct 25Pushed 11y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Auditable
=========

[](#auditable)

An easy to implement attribute audit log for Eloquent ORM in Laravel 4.X.

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

[](#installation)

Add the repository to your `composer.json`:

```
"repositories": [
    {
        "type": "vcs",
        "url": "https://github.com/olsgreen/laravel-auditable"
    }
],

```

and also require `Auditable`:

```
"require": {
	"laravel/framework": "4.1.*",
	"olsgreen/laravel-guardian": "dev-master",
},

```

Run `composer update` to update your app or `composer install` to install.

After install / update you will need to run the packages migrations like so:

```
php artisan migrate --package="olsgreen/auditable"

```

and also add `Auditable` as a service provider within your `app/config/app.php`:

```
'providers' => array(

	'Illuminate\Foundation\Providers\ArtisanServiceProvider',
	'Illuminate\Auth\AuthServiceProvider',
	..........

	// Auditable - add this line below the others
	'Olsgreen\Auditable\AuditableServiceProvider',
),

```

After this you'll be ready to go.

Getting started
---------------

[](#getting-started)

Auditable offers two methods of implementation:

1. Inheritance, by using our `AuditableModel` as a base class.
2. Adding a model event observer.

### Using Auditable via inheritance

[](#using-auditable-via-inheritance)

To come.

### Using Auditable via a model event observer

[](#using-auditable-via-a-model-event-observer)

To come.

License
-------

[](#license)

Copyright (c) 2014 Oliver Green

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 80% 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/c7480518d69b3d7e1f985e9f8b7f5aaf43f4cdeac87bda4eeb832c75f21f0d27?d=identicon)[olsgreen](/maintainers/olsgreen)

---

Top Contributors

[![olsgreen](https://avatars.githubusercontent.com/u/1324164?v=4)](https://github.com/olsgreen "olsgreen (4 commits)")[![chrisnetonline](https://avatars.githubusercontent.com/u/265868?v=4)](https://github.com/chrisnetonline "chrisnetonline (1 commits)")

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/olsgreen-laravel-auditable/health.svg)](https://phpackages.com/packages/olsgreen-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)
