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

ActiveLibrary

iqbalatma/laravel-audit
=======================

Use to auditing data changes

1.6.0(6mo ago)03411[1 PRs](https://github.com/iqbalatma/laravel-audit/pulls)PHP

Since Feb 14Pushed 6mo ago1 watchersCompare

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

READMEChangelog (10)DependenciesVersions (27)Used By (0)

LARAVEL AUDIT BY IQBAL ATMA MULIAWAN
====================================

[](#laravel-audit-by-iqbal-atma-muliawan)

Laravel Audit is a laravel package that use to track changes on your process. It will also track client ip address, http method, endpoint, user request, user agent, user that making changes, object that changes, before and after data changes. You need to set object to let audit know which model/data that being change. After that, you also need to set before and after data.

How to install ?
----------------

[](#how-to-install-)

Here is how to install the package :

```
composer require iqbalatma/laravel-audit
```

How to publish vendor ?
-----------------------

[](#how-to-publish-vendor-)

You need to publish vendor (migration and config). Here is how to publish vendor :

```
php artisan vendor:publish --provider="Iqbalatma\LaravelAudit\Providers\LaravelAuditServiceProvider"
```

After publishing migration, you can run the migration.

```
php artisan migrate
```

How to use ?
------------

[](#how-to-use-)

First you need to initiate the audit service. After that, you can set all data with available method.

```
