PHPackages                             tbs/math - 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. tbs/math

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

tbs/math
========

Amazing math component for PHP 5.3+

0.2(11y ago)012MITPHPPHP &gt;=5.3

Since Oct 13Pushed 11y ago1 watchersCompare

[ Source](https://github.com/leonardothibes/Tbs-Math)[ Packagist](https://packagist.org/packages/tbs/math)[ Docs](http://documentup.com/leonardothibes/Tbs-Math)[ RSS](/packages/tbs-math/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (10)Versions (4)Used By (0)

Tbs-Math [![Build Status](https://camo.githubusercontent.com/d556e4cfabb829931d8e8023cd8aeeac3d7266e1f521bdd662e050ea3dcc009d/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f6c656f6e6172646f7468696265732f5462732d4d6174682e706e67)](http://travis-ci.org/leonardothibes/Tbs-Math)
==============================================================================================================================================================================================================================================================================================

[](#tbs-math-)

Amazing math component for PHP 5.3+

Module Validation
-----------------

[](#module-validation)

- **Module 10**
- **Module 11**

LICENSE
-------

[](#license)

Copyright (c) 2013-2014 Leonardo Thibes

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

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 ~0 days

Total

2

Last Release

4271d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1135830?v=4)[Leonardo Thibes](/maintainers/leonardothibes)[@leonardothibes](https://github.com/leonardothibes)

---

Top Contributors

[![leonardothibes](https://avatars.githubusercontent.com/u/1135830?v=4)](https://github.com/leonardothibes "leonardothibes (17 commits)")

---

Tags

mathTBS

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/tbs-math/health.svg)

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

###  Alternatives

[brick/math

Arbitrary-precision arithmetic library

2.1k532.9M375](/packages/brick-math)[markrogoyski/math-php

Math Library for PHP. Features descriptive statistics and regressions; Continuous and discrete probability distributions; Linear algebra with matrices and vectors, Numerical analysis; special mathematical functions; Algebra

2.4k7.4M47](/packages/markrogoyski-math-php)[phpseclib/bcmath_compat

PHP 5.x-8.x polyfill for bcmath extension

16721.2M25](/packages/phpseclib-bcmath-compat)[rubix/tensor

A library and extension that provides objects for scientific computing in PHP.

2791.5M5](/packages/rubix-tensor)[jlawrence/eos

Parse and solve math equations without using 'eval()'.

1051.2M11](/packages/jlawrence-eos)[krowinski/bcmath-extended

Extends php BCMath lib for missing functions like floor, ceil, round, abs, min, max, rand for big numbers. Also wraps existing BCMath functions. (more http://php.net/manual/en/book.bc.php) Supports scientific notations

791.1M22](/packages/krowinski-bcmath-extended)

PHPackages © 2026

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