2017 © Pedro Peláez
 

library record-tracker

Record Tracker

image

lourdas/record-tracker

Record Tracker

  • Sunday, July 15, 2018
  • by lourdas
  • Repository
  • 1 Watchers
  • 0 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Record Tracker

Introduction

This is a PHP library with the purpose of storing record changes in a database. What does that mean?, (*1)

Let's say you work with a database model (as in the MVC pattern, of course this is not required) and you create it, update it again and again, and finally delete it at the end of its lifecycle. Wouldn't it be nice to track its attribute changes over its lifecycle? Well, that's what Record Tracker does., (*2)

It's a simple library that connects to the database (currently only PostgreSQL and MySQL/MariaDB are supported) and stores the model attribute changes with a few metadata about this:, (*3)

  • Type of record change, (C)reate, (U)pdate or (D)elete
  • Timestamp of change
  • User that created the change
  • The table name of the changed record
  • And the primary key of the changed record

The attribute changes are stored like this:, (*4)

  • Column name
  • Old value
  • New value

See Usage for details about how to use the library and Changes for the changelog., (*5)

The library is distributed under Mozilla Public License 2.0 (MPL-2)., (*6)

News

2018-07-15: Complete MySQL/MariaDB support., (*7)

2018-07-11: Initial release., (*8)

The Versions

15/07 2018

dev-master

9999999-dev

Record Tracker

  Sources   Download

MPL-2.0

The Requires

  • php >=5.6.0
  • ext-pdo *

 

by Vasilis Lourdas

15/07 2018

v0.2.0

0.2.0.0

Record Tracker

  Sources   Download

MPL-2.0

The Requires

  • php >=5.6.0
  • ext-pdo *

 

by Vasilis Lourdas

11/07 2018

v0.1.0

0.1.0.0

Record Tracker

  Sources   Download

MPL-2.0

The Requires

  • php >=5.6.0
  • ext-pdo *

 

by Vasilis Lourdas