PHPackages                             weblynx/laravel-model-audit - 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. weblynx/laravel-model-audit

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

weblynx/laravel-model-audit
===========================

Audit package for laravel models

01PHP

Since Mar 13Pushed 4y ago1 watchersCompare

[ Source](https://github.com/Banescu-Adrian/laravel-model-audit)[ Packagist](https://packagist.org/packages/weblynx/laravel-model-audit)[ RSS](/packages/weblynx-laravel-model-audit/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel Model Audit
===================

[](#laravel-model-audit)

### Warning: this is still in beta. So you may encounter problems.

[](#warning-this-is-still-in-beta-so-you-may-encounter-problems)

### This is just a side project soo updates may come rare.

[](#this-is-just-a-side-project-soo-updates-may-come-rare)

### Installation

[](#installation)

```
composer require weblynx/laravel-model-audit

```

### After installing run

[](#after-installing-run)

```
php artisan migrate

```

---

### Lifecycle events available:

[](#lifecycle-events-available)

- created
- updated
- deleted
- restored
- soft-deleted
- force-deleted

---

### Publish vendor file

[](#publish-vendor-file)

```
php artisan vendor:publish

```

---

### Inside of config you will find an auditor.php file.

[](#inside-of-config-you-will-find-an-auditorphp-file)

#### You can disable any of events globally by commenting the line.

[](#you-can-disable-any-of-events-globally-by-commenting-the-line)

```
