PHPackages                             sdas/changelog - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. sdas/changelog

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

sdas/changelog
==============

Log any change in model

v1.0.9(3y ago)027MITBlade

Since Dec 12Pushed 3y ago1 watchersCompare

[ Source](https://github.com/shimuldas72/changelog)[ Packagist](https://packagist.org/packages/sdas/changelog)[ RSS](/packages/sdas-changelog/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (11)Used By (0)

About Changelog package
-----------------------

[](#about-changelog-package)

This package is responsible for logging create, update and delete event in a table and gives the admin a view of what is happening in this system.

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

[](#installation)

```
$ composer require sdas/changelog

```

After installing the package publish the config file

```
$ php artisan vendor:publish --tag=changelog-config

```

Published config file will be found in the config folder of your laravel project. Update the config variables according to your project structure.

Publish and migrate the migrations

```
$ php artisan vendor:publish --tag=changelog-migrations
$ php artisan migrate

```

Now, run the command below to refresh all the cache

```
$ php artisan optimize

```

Great, installation process is done.

Now use **Sdas\\Changelog\\Http\\Traits\\Trackable** trait in any class that extends **Illuminate\\Database\\Eloquent\\Model** like this

```
