PHPackages                             ashterix/control-time - 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. ashterix/control-time

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

ashterix/control-time
=====================

Time control of the script with the ability to check the intermediate points.

1.0.2(10y ago)034MITPHPPHP &gt;=5.4

Since Jul 24Pushed 10y ago1 watchersCompare

[ Source](https://github.com/Ashterix/control-time)[ Packagist](https://packagist.org/packages/ashterix/control-time)[ RSS](/packages/ashterix-control-time/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (3)Used By (0)

Control Time
============

[](#control-time)

Time control of the script with the ability to check the intermediate points.

### How use?

[](#how-use)

##### INIT

[](#init)

At the beginning of your script, initiate control of time:

```
use Control\ControlTime;

ControlTime::init();
~~~~~

##### ADD WAYPOINTS
In the right places in your script, add waypoints with comments:
~~~~~~ php
ControlTime::addWayPoint('Before connect to DB');
// your connect to DB
ControlTime::addWayPoint('After connect to DB');
~~~~~

##### GET RESULTS
At the end of your script, get results in the desired format:
~~~~~~ php
$resultArray = ControlTime::getResults(ControlTime::RETURN_ARRAY);
// or
$resultJSON = ControlTime::getResults(ControlTime::RETURN_JSON);
// or
$resultHTML = ControlTime::getResults(ControlTime::RETURN_HTML);
~~~~~

##### HTML demo:
~~~~~~ php
echo $resultHTML;
~~~~~
![main window](https://github.com/Ashterix/control-time/blob/master/demo.jpg)
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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 ~0 days

Total

2

Last Release

3951d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/87aea0bcf81c64ced7c3a14a1746d603ec6e8acfba62ef85746df40e8c376e7f?d=identicon)[Alex Maistrenko](/maintainers/Alex%20Maistrenko)

---

Top Contributors

[![Ashterix](https://avatars.githubusercontent.com/u/5172394?v=4)](https://github.com/Ashterix "Ashterix (10 commits)")

### Embed Badge

![Health badge](/badges/ashterix-control-time/health.svg)

```
[![Health](https://phpackages.com/badges/ashterix-control-time/health.svg)](https://phpackages.com/packages/ashterix-control-time)
```

###  Alternatives

[runtime/react

ReactPHP runtime

185.3k1](/packages/runtime-react)

PHPackages © 2026

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