PHPackages                             robertbakker/big-calculator - 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. robertbakker/big-calculator

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

robertbakker/big-calculator
===========================

Calculator with big numbers

0.0.4(7y ago)455MITPHPPHP ^7.1

Since Oct 5Pushed 7y agoCompare

[ Source](https://github.com/robertbakker/big-calculator)[ Packagist](https://packagist.org/packages/robertbakker/big-calculator)[ RSS](/packages/robertbakker-big-calculator/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (4)Dependencies (6)Versions (5)Used By (0)

Big Calculator
==============

[](#big-calculator)

Just a simple calculator using big numbers with arbitrary precision. Uses `brick/math` for the big numbers.

`Disclaimer:` As with any calculations done by a computer, always check them. Especially when dealing with calculations using decimals.

Usage
-----

[](#usage)

```
use RobertBakker\BigCalculator\Calculator;

$calculator = Calculator::create();
$calculator->calculate("1.234 / 5 + 3.4"); // outputs \Brick\Math\BigDecimal
```

Variables

```
// Example with 4% interest over 3 years
$calculator = Calculator::create();
$calculator->addVariable("years", 3);
$calculator->calculate("2000 * 1.04 ^ years");
```

Development
-----------

[](#development)

```
# For testing purposes
composer run test

# Benchmarking
composer run bench

```

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity50

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.

###  Release Activity

Cadence

Every ~14 days

Total

4

Last Release

2781d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2085112?v=4)[Robert Bakker](/maintainers/robertbakker)[@robertbakker](https://github.com/robertbakker)

---

Top Contributors

[![robertbakker](https://avatars.githubusercontent.com/u/2085112?v=4)](https://github.com/robertbakker "robertbakker (11 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/robertbakker-big-calculator/health.svg)

```
[![Health](https://phpackages.com/badges/robertbakker-big-calculator/health.svg)](https://phpackages.com/packages/robertbakker-big-calculator)
```

###  Alternatives

[laravel/framework

The Laravel Framework.

34.8k532.1M19.5k](/packages/laravel-framework)[ramsey/uuid

A PHP library for generating and working with universally unique identifiers (UUIDs).

12.6k729.6M3.8k](/packages/ramsey-uuid)[brick/money

Money and currency library

1.9k40.4M144](/packages/brick-money)[illuminate/database

The Illuminate Database package.

2.8k54.1M11.2k](/packages/illuminate-database)[flow-php/etl

PHP ETL - Extract Transform Load - Abstraction

377559.7k87](/packages/flow-php-etl)[azuracast/azuracast

The AzuraCast self-hosted web radio station management suite.

3.9k27.8k](/packages/azuracast-azuracast)

PHPackages © 2026

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