PHPackages                             opatrickvico/history - 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. opatrickvico/history

ActiveLibrary

opatrickvico/history
====================

Class that implements the memento pattern poorly, allowing for undo/redo functionality;

1.0.0(2y ago)03PHP

Since Dec 13Pushed 2y ago1 watchersCompare

[ Source](https://github.com/oPatrickVico/History-PHP)[ Packagist](https://packagist.org/packages/opatrickvico/history)[ RSS](/packages/opatrickvico-history/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

History-PHP
===========

[](#history-php)

Simple PHP class that (poorly) implements the memento pattern for undo/redo features.

How to use it
-------------

[](#how-to-use-it)

The class has three methods:

- addHistory: Takes the state you want to register. Everytime the state is changed, new history must be added;
- undo: Returns the previous state;
- redo: Returns the state ahead.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity42

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

Unknown

Total

1

Last Release

880d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ed75c3355b2b82e32887a0ec72e0d69db2b2da3355d7053e908e00ff9cc8d04b?d=identicon)[opatrickvico](/maintainers/opatrickvico)

---

Top Contributors

[![oPatrickVico](https://avatars.githubusercontent.com/u/17071417?v=4)](https://github.com/oPatrickVico "oPatrickVico (1 commits)")

### Embed Badge

![Health badge](/badges/opatrickvico-history/health.svg)

```
[![Health](https://phpackages.com/badges/opatrickvico-history/health.svg)](https://phpackages.com/packages/opatrickvico-history)
```

PHPackages © 2026

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