lunia / auditoria
Paquete para crear un log de auditoria de todas las consultas que pasan en la aplicación
Requires
- php: ^7.4|^8.0
- illuminate/support: ^8.0
Requires (Dev)
- orchestra/testbench: ^6.0
- phpunit/phpunit: ^9.0
README
Lunia Consultores S.L.
Installation
Install the package via composer:
composer require lunia/auditoria
Publish configuration and service provider:
php artisan vendor:publish --provider="Lunia\Auditoria\Providers\AuditoriaApplicationServiceProvider"
Configure other DB connection in config/database.php and then set in .env:
AUDITORIA_DB_CONNECTION=$DB_CONNECTION_NAME AUDITORIA_ENABLE=true
Register published AuditoriaServiceProvider in config/app.php:
return [ ... \App\Providers\AuditoriaServiceProvider::class, ... ]
Set variable in phpunit.xml to not audit while running tests:
<server name="AUDITORIA_ENABLE" value="false" force="true"/>
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email desarrollo@lunia.es instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
Laravel Package Boilerplate
This package was generated using the Laravel Package Boilerplate.