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

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

rsctd/huge-fraction
===================

A PHP library to work with huge fractions

1.0.1(5y ago)08MITPHPPHP &gt;=7.0

Since Apr 7Pushed 5y ago2 watchersCompare

[ Source](https://github.com/rsctd/huge-fraction)[ Packagist](https://packagist.org/packages/rsctd/huge-fraction)[ RSS](/packages/rsctd-huge-fraction/feed)WikiDiscussions main Synced 4w ago

READMEChangelog (2)Dependencies (1)Versions (4)Used By (0)

huge-fraction
=============

[](#huge-fraction)

A PHP library to work with huge fractions

### Prerequisites

[](#prerequisites)

- PHP version &gt;= 7.0.0

### Installation

[](#installation)

In your project folder:

```
composer require rsctd/huge-fraction
```

### Usage

[](#usage)

```
require_once __DIR__.'/../vendor/autoload.php';

use Rsctd\HugeFraction\Fraction;

$fraction = Fraction::fromString('3 2/5');
var_dump($fraction);
```

### Running tests

[](#running-tests)

To run the tests locally, run the command

```
composer test

```

### Reference

[](#reference)

Thanks for

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.7% 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

1858d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/edf7018e5e7afb4fb6b67ce9e9a7341e515b7aa23764939546db06f448dfd345?d=identicon)[super.rsctd](/maintainers/super.rsctd)

---

Top Contributors

[![hoangkhoa9089](https://avatars.githubusercontent.com/u/7920581?v=4)](https://github.com/hoangkhoa9089 "hoangkhoa9089 (6 commits)")[![rsctd](https://avatars.githubusercontent.com/u/77663757?v=4)](https://github.com/rsctd "rsctd (3 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

PHPackages © 2026

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