PHPackages                             abdi.zbn/simple-audit-log - 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. abdi.zbn/simple-audit-log

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

abdi.zbn/simple-audit-log
=========================

201PHP

Since Aug 13Pushed 3y ago1 watchersCompare

[ Source](https://github.com/abdiz/simple-audit-log)[ Packagist](https://packagist.org/packages/abdi.zbn/simple-audit-log)[ RSS](/packages/abdizbn-simple-audit-log/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

simple-audit-log
================

[](#simple-audit-log)

[![Version](https://camo.githubusercontent.com/fa778b3de6a1b08062060d44fdf458b383524aee9b175c9beb5225776f2bf466/687474703a2f2f706f7365722e707567782e6f72672f616264692e7a626e2f73696d706c652d61756469742d6c6f672f76)](https://packagist.org/packages/abdi.zbn/simple-audit-log)[![License](https://camo.githubusercontent.com/7dac68876ea08a3cf4d2d2547631d1c79141e4cf02efa4aced7bdef5105d07af/687474703a2f2f706f7365722e707567782e6f72672f616264692e7a626e2f73696d706c652d61756469742d6c6f672f6c6963656e7365)](https://packagist.org/packages/abdi.zbn/simple-audit-log)[![composer.lock](https://camo.githubusercontent.com/9ca73377c95791d5c046d1df9bba8e0e1cdf6ae71892fdac502aec605be1efb4/687474703a2f2f706f7365722e707567782e6f72672f616264692e7a626e2f73696d706c652d61756469742d6c6f672f636f6d706f7365726c6f636b)](https://packagist.org/packages/abdi.zbn/simple-audit-log)[![PHP Version Require](https://camo.githubusercontent.com/d8a06cca9024eab01d77d477aa14cf3f3297d0d3cb021049c42b4d49007d00bb/687474703a2f2f706f7365722e707567782e6f72672f616264692e7a626e2f73696d706c652d61756469742d6c6f672f726571756972652f706870)](https://packagist.org/abdi.zbn/simple-audit-log/phpunit)[![.gitattributes](https://camo.githubusercontent.com/19bdc4ef3dcd14b75238719a40d9e475f679643e448f08aef1e217f4db5f0e5c/687474703a2f2f706f7365722e707567782e6f72672f616264692e7a626e2f73696d706c652d61756469742d6c6f672f67697461747472696275746573)](https://packagist.org/packages/abdi.zbn/simple-audit-log)

Laravel Simple Audit Log Package
================================

[](#laravel-simple-audit-log-package)

This Package is for Laravel 5+ and make it easy to keep the history of the Eloquent's Model changes. just use the trait in the model and you're good to go.

#### Composer Install (for Laravel 5+)

[](#composer-install-for-laravel-5)

```
composer require abdi.zbn/simple-audit-log

```

#### Publish and Run the migrations

[](#publish-and-run-the-migrations)

```
php artisan vendor:publish --provider="AbdiZbn\SimpleAuditLog\SimpleAuditLogServiceProvider" --tag=migrations

php artisan migrate
```

if you're using Laravel version 5.5+, Likeable package will be auto-discovered by Laravel. and if not: register the package in config/app.php providers array manually.

```
'providers' => [
	...
	\AbdiZbn\SimpleAuditLog\SimpleAuditLogServiceProvider::class,
],
```

#### Setup models - just use the Trait in the Model.

[](#setup-models---just-use-the-trait-in-the-model)

```
