lunia/auditoria

Paquete para crear un log de auditoria de todas las consultas que pasan en la aplicaciĆ³n

0.9.18 2022-07-08 10:51 UTC

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.