PHPackages                             famex/helpers - 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. famex/helpers

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

famex/helpers
=============

Various small helper classes

0.2.0(8mo ago)02.6kMITPHPPHP ^7CI passing

Since Aug 21Pushed 8mo ago1 watchersCompare

[ Source](https://github.com/FameX/helpers)[ Packagist](https://packagist.org/packages/famex/helpers)[ RSS](/packages/famex-helpers/feed)WikiDiscussions develop Synced 1mo ago

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

helpers
=======

[](#helpers)

Various small helper classes

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

[](#installation)

Just add `"famex/helpers": "0.2.*",` to your `composer.json` file.

Classes
-------

[](#classes)

`DateHelper` currently provides one static function:

`getDateDiff($time1, $time2, $precision = 2)` which takes two UNIX timestamps and returns a string in the format `x days`.

`LatLongDistHelper` currently provides one static function:

`calculate($lat1, $lon1, $lat2, $lon2, $unit = "K")` which returns the distance between two lat/long pairs in km (`K`) or miles (`M`)

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance59

Moderate activity, may be stable

Popularity21

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 85% 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 ~806 days

Recently: every ~1007 days

Total

6

Last Release

259d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/76531533d4ec8ef6b40757c24312a15f261e972240a60da68e254d4cd80d2e34?d=identicon)[lostfocus](/maintainers/lostfocus)

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

---

Top Contributors

[![lostfocus](https://avatars.githubusercontent.com/u/45055?v=4)](https://github.com/lostfocus "lostfocus (17 commits)")[![semantic-release-bot](https://avatars.githubusercontent.com/u/32174276?v=4)](https://github.com/semantic-release-bot "semantic-release-bot (2 commits)")[![actions-user](https://avatars.githubusercontent.com/u/65916846?v=4)](https://github.com/actions-user "actions-user (1 commits)")

### Embed Badge

![Health badge](/badges/famex-helpers/health.svg)

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

###  Alternatives

[wingsuit-designsystem/wingsuit-kickstarter

Starterkit for Wingsuit and Layout Builder.

131.2k](/packages/wingsuit-designsystem-wingsuit-kickstarter)

PHPackages © 2026

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