setbased/php-audit

A tool for creating audit tables and triggers for logging data changes in a MySQL database.

1.10.0 2024-09-21 10:51 UTC

This package is auto-updated.

Last update: 2024-12-21 11:18:50 UTC


README

PhpAudit is a tool for creating and maintaining audit tables and triggers for creating audit trails of data changes in MySQL databases.

Features

PhpAudit has the following features:

  • Creates audit tables for tables in your database for which auditing is required.
  • Creates triggers on tables for recording inserts, updates, and deletes of rows.
  • Helps you to maintain audit tables and triggers when you modify your application's tables.
  • Reports differences in table structure between your application's tables and audit tables.
  • Disabling triggers under certain conditions.
  • Flexible configuration. You can define additional columns to audit tables, for example: logging user and session IDs.

Using the audit trail you track changes made to the data of your application by the users of the application. Even of data that has been deleted or changed back to its original state. Also, you can track how your application manipulates data and find bugs if your application.

Manual

The manual of PhpAudit is available at Read the Docs.

Contributing

We are looking for contributors. We can use your help for:

  • Fixing bugs and solving issues.
  • Writing documentation.
  • Developing new features.
  • Code review.
  • Implementing PhpAudit for other database systems.

You can contribute to this project in many ways:

  • Fork this project on GitHub and create a pull request.
  • Create an issue on GitHub.
  • Asking critical questions.
  • Contacting us at Gitter.

Support

If you are having issues, please let us know. Contact us at Gitter or create an issue on GitHub.

For commercial support, please contact us at info@setbased.nl.

License

The project is licensed under the MIT license.