Skip to content

laravel-tool/audit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel Tool Audit

Collecting audit infos from changes via observer

Installation

Composer

composer require laravel-tool/audit

Laravel

Service provider auto discovered

Lumen

Add to bootstrap/app.php

$app->register(LaravelTool\Audit\ServiceProvider::class);

Config

php artisan vendor:publish --provider=LaravelTool\Audit\ServiceProvider

Migrations

php artisan migrate

Usage

Install trait to Model class

use LaravelTool\Audit\Traits\Auditable;