PHPackages                             sleavely/datadiff-laravel - 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. sleavely/datadiff-laravel

AbandonedArchivedLibrary

sleavely/datadiff-laravel
=========================

Version history for Eloquent models.

v1.1.0(9y ago)50MITPHPPHP &gt;=5.4.0

Since Jun 12Pushed 9y ago1 watchersCompare

[ Source](https://github.com/Sleavely/datadiff-laravel)[ Packagist](https://packagist.org/packages/sleavely/datadiff-laravel)[ RSS](/packages/sleavely-datadiff-laravel/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (2)Dependencies (8)Versions (4)Used By (0)

datadiff-laravel
================

[](#datadiff-laravel)

[![Build Status](https://camo.githubusercontent.com/2a3a2c293b7fe78f8904a4444e82b4b0e1473c8c2b659a945aa37c7070f69497/68747470733a2f2f7472617669732d63692e6f72672f536c656176656c792f64617461646966662d6c61726176656c2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Sleavely/datadiff-laravel)

Save a history of your model edits. Storage format inspired by, and probably compatible with, [makasim/datadiff](https://github.com/makasim/datadiff).

Requirements
------------

[](#requirements)

datadiff-laravel was developed for Laravel 4.2 in mind. Your mileage with Laravel 5+ may vary.

This package uses ElasticSearch as a storage solution. We recommend setting up a separate index to hold the diffs since their format may conflict with things like [Elasticquent](https://github.com/elasticquent/Elasticquent).

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

[](#installation)

```
composer require sleavely/datadiff-laravel

```

### Configuration

[](#configuration)

Next, we'll need to tell Laravel we exist. In your `config/app.php`:

```
