PHPackages                             vahidid/model-logger - 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. vahidid/model-logger

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

vahidid/model-logger
====================

Simple package for log changes on every model in Laravel

719PHP

Since Jan 15Pushed 5y ago1 watchersCompare

[ Source](https://github.com/vahidid/model-logger)[ Packagist](https://packagist.org/packages/vahidid/model-logger)[ RSS](/packages/vahidid-model-logger/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Hi There !

simple package for log any model that you want in **Laravel** :)

This package save all log in Create,Update and Delete any instance of model that you want

for update you can see what field change from value to value :)

it's developed on Laravel 8.12.1

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

[](#installation)

you need to install first from composer

`composer install vahidid/model-logger`

and after that publish migrations file

`php artisan vendor:publish --tag=vahidid\model-logger\ModelLogerServiceProvider`

and it's installed :)

How Work?
---------

[](#how-work)

it's just a trait that you can to add in your target Laravel Model! after that your logger it's work

Like this:

```
