jervenclark / audits
Event auditing for Laravel models
dev-master
2018-11-06 02:52 UTC
Requires
Requires (Dev)
- mockery/mockery: ^1.1
- orchestra/testbench: ~3.0
- phpunit/phpunit: ~7.0
- sempro/phpunit-pretty-print: ^1.0
This package is auto-updated.
Last update: 2024-05-06 16:52:41 UTC
README
Auditing for laravel models. Take a look at contributing.md to see a to do list.
Installation
Via Composer
$ composer require jervenclark/audits
Usage
Add service provider on config/app.php
Jervenclark\Audits\AuditsServiceProvider::class
(Optional) Add class morphMap on app/Providers/AppServiceProvider
... use Illuminate\Database\Eloquent\Relations\Relation; ... Relation::morphMap([ 'App\Models\User' ]); ...
Change log
Please see the changelog for more information on what has changed recently.
Testing
$ composer test
Contributing
Please see contributing.md for details and a todolist.
Security
If you discover any security related issues, please email jervenclark@gmail.com instead of using the issue tracker.
Credits
License
MIT. Please see the license file for more information.