PHPackages                             jandc/fraction - 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. jandc/fraction

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

jandc/fraction
==============

PHP Class representing a rational number as a fraction

07PHP

Since Jul 30Pushed 7y ago1 watchersCompare

[ Source](https://github.com/JanDC/Fraction)[ Packagist](https://packagist.org/packages/jandc/fraction)[ RSS](/packages/jandc-fraction/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Fraction
========

[](#fraction)

PHP Class representing a rational number as a fraction (as opposed to a floating point value)

see also [https://en.wikipedia.org/wiki/Floating\_point#Accuracy\_problems](https://en.wikipedia.org/wiki/Floating_point#Accuracy_problems)

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity40

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/12ba1b5fd651582c600a854fe8394e75d50f3b27aeb2bdd1f37b2f3f4a0bdb76?d=identicon)[jandc](/maintainers/jandc)

---

Top Contributors

[![JanDC](https://avatars.githubusercontent.com/u/3265146?v=4)](https://github.com/JanDC "JanDC (7 commits)")

### Embed Badge

![Health badge](/badges/jandc-fraction/health.svg)

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

###  Alternatives

[godbout/dash-docset-builder

Dash (LOVE) Docset Builder in PHP (LOVE).

1253.5k](/packages/godbout-dash-docset-builder)[markwalet/laravel-packagist

A Laravel wrapper for the `spatie/packagist-api` package.

132.1k](/packages/markwalet-laravel-packagist)

PHPackages © 2026

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