Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
recycledbeans authored Nov 21, 2019
1 parent 314377a commit 64b1536
Showing 1 changed file with 30 additions and 1 deletion.
31 changes: 30 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,32 @@
# Resource Tool for Laravel Auditing

@todo - Add some documentation
A Laravel Nova Resource Tool that allows you to easily display the audit log that is created by the Laravel Auditing package (owen-it/laravel-auditing).

## Installation

Simply install using composer.

```bash

composer require devpartners/auditable-log

```

Then add the resource tool to a resource whose related model uses and implements the Laravel Auditable package.

```php

public function fields(Request $request)
{

return [
Text::make('Name'),
Text::make('E-mail'),

// Shows audit log on detail view
AuditableLog::make('Audit Log')
];

}

```

0 comments on commit 64b1536

Please sign in to comment.