PHPackages                             amanangira/script-execution-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. amanangira/script-execution-time

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

amanangira/script-execution-time
================================

A library to calculate time taken for a script to execute.

010PHP

Since Jan 29Pushed 7y ago1 watchersCompare

[ Source](https://github.com/amanangira/script-execution-time)[ Packagist](https://packagist.org/packages/amanangira/script-execution-time)[ RSS](/packages/amanangira-script-execution-time/feed)WikiDiscussions master Synced 4d ago

READMEChangelogDependenciesVersions (1)Used By (0)

A library to calculate time taken for a script to execute.

Example

```
$runTime = new ExecutionTime;
$runTime->startTime();
sleep( 2 );
$runTime->endTime();
echo "Time taken to run in seconds: " . $runTime->getTime();

```

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 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.

### Community

Maintainers

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

---

Top Contributors

[![amanangira](https://avatars.githubusercontent.com/u/19432766?v=4)](https://github.com/amanangira "amanangira (5 commits)")

### Embed Badge

![Health badge](/badges/amanangira-script-execution-time/health.svg)

```
[![Health](https://phpackages.com/badges/amanangira-script-execution-time/health.svg)](https://phpackages.com/packages/amanangira-script-execution-time)
```

###  Alternatives

[tajawal/lodash-php

A full-on PHP manipulation utility-belt that provides support for the usual functional.

232.6k1](/packages/tajawal-lodash-php)

PHPackages © 2026

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