I have been writing a couple PHP CLI scripts, some that are long running. I wanted a simple way to keep a running average of how many times certain actions were taking place. In comes TPM. A very small and simple class that keep tracks of “ticks” per minute for you.
Hope you find it useful!