PHPackages                             dregozone/run-tools - 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. dregozone/run-tools

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

dregozone/run-tools
===================

A simple running pace calculator package

v1.0.0(2mo ago)221MITPHPPHP &gt;=8.0

Since May 7Pushed 2mo agoCompare

[ Source](https://github.com/Dregozone/run-tools)[ Packagist](https://packagist.org/packages/dregozone/run-tools)[ RSS](/packages/dregozone-run-tools/feed)WikiDiscussions master Synced 3w ago

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

RunTools
========

[](#runtools)

A simple running pace calculator package.

Installation
------------

[](#installation)

```
composer require dregozone/run-tools
```

Usage
-----

[](#usage)

```
use Dregozone\RunTools\PaceCalculator;
```

Then call: calculatePace(distance in meters, target time in seconds, (optional) unit of measurement) to return the pace as "xx:xx per km|mile"

### Find required 5k pace

[](#find-required-5k-pace)

```
// 5km in 25 minutes
$result = PaceCalculator::calculatePace(5000, 1500); // "05:00 per km"
```

### Find required 10k pace

[](#find-required-10k-pace)

```
// 10km in 1 hour
$result = PaceCalculator::calculatePace(10000, 3600); // "06:00 per km"
```

### Optional unit (Default: 'km')

[](#optional-unit-default-km)

```
// Half marathon in 2 hours
$result = PaceCalculator::calculatePace(21100, 7200);          // "05:41 per km"
$result = PaceCalculator::calculatePace(21100, 7200, 'km');    // "05:41 per km"
$result = PaceCalculator::calculatePace(21100, 7200, 'miles'); // "09:09 per mile"
```

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance85

Actively maintained with recent releases

Popularity11

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity39

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

78d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

calculatorPACErunningfitnesssport

### Embed Badge

![Health badge](/badges/dregozone-run-tools/health.svg)

```
[![Health](https://phpackages.com/badges/dregozone-run-tools/health.svg)](https://phpackages.com/packages/dregozone-run-tools)
```

###  Alternatives

[markrogoyski/ipv4-subnet-calculator

Network calculator for subnet mask and other classless (CIDR) network information.

175852.6k14](/packages/markrogoyski-ipv4-subnet-calculator)[ballen/distical

A distance (Lat/Long) calculation library for PHP

40199.2k2](/packages/ballen-distical)

PHPackages © 2026

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