PHPackages                             lourdas/record-tracker - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. lourdas/record-tracker

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

lourdas/record-tracker
======================

Record Tracker

v0.2.0(7y ago)114MPL-2.0PHPPHP &gt;=5.6.0

Since Jul 11Pushed 7y ago1 watchersCompare

[ Source](https://github.com/lourdas/record-tracker)[ Packagist](https://packagist.org/packages/lourdas/record-tracker)[ RSS](/packages/lourdas-record-tracker/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (3)Used By (0)

Record Tracker
==============

[](#record-tracker)

Introduction
------------

[](#introduction)

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

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.

It's a simple library that connects to the database (currently only [PostgreSQL](https://www.postgresql.org/) and [MySQL](https://www.mysql.com/)/[MariaDB](https://mariadb.org) are supported) and stores the model attribute changes with a few metadata about this:

- 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:

- Column name
- Old value
- New value

See [Usage](USAGE.md) for details about how to use the library and [Changes](CHANGES.md) for the changelog.

The library is distributed under [Mozilla Public License 2.0 (MPL-2)](https://www.mozilla.org/en-US/MPL/2.0/).

News
----

[](#news)

2018-07-15: Complete MySQL/MariaDB support.

2018-07-11: Initial release.

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~3 days

Total

2

Last Release

2907d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/397916?v=4)[Vasilis Lourdas](/maintainers/lourdas)[@lourdas](https://github.com/lourdas)

---

Top Contributors

[![lourdas](https://avatars.githubusercontent.com/u/397916?v=4)](https://github.com/lourdas "lourdas (15 commits)")

### Embed Badge

![Health badge](/badges/lourdas-record-tracker/health.svg)

```
[![Health](https://phpackages.com/badges/lourdas-record-tracker/health.svg)](https://phpackages.com/packages/lourdas-record-tracker)
```

###  Alternatives

[scribu/scb-framework

A set of useful classes for faster plugin development

22393.5k](/packages/scribu-scb-framework)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
