PHPackages                             svpernova09/php-easy-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. svpernova09/php-easy-math

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

svpernova09/php-easy-math
=========================

A simple library to do math for you

1.0.0(7y ago)364[1 issues](https://github.com/svpernova09/php-easy-math/issues)[3 PRs](https://github.com/svpernova09/php-easy-math/pulls)PHPPHP ^7.2CI passing

Since Sep 15Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/svpernova09/php-easy-math)[ Packagist](https://packagist.org/packages/svpernova09/php-easy-math)[ RSS](/packages/svpernova09-php-easy-math/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)Dependencies (1)Versions (8)Used By (0)

PHP Easy Math
=============

[](#php-easy-math)

[![](https://github.com/svpernova09/php-easy-math/workflows/.github/workflows/php.yml/badge.svg)](https://github.com/svpernova09/php-easy-math/workflows/.github/workflows/php.yml/badge.svg)

A simple library to do math for you
-----------------------------------

[](#a-simple-library-to-do-math-for-you)

PHP Easy Math provides two classes containing two methods each. The Addition class provides the `add()` method which takes two paramters and returns the sum. The Addition class also contains the `sum()` method that will take any number of floats and return the sum. The Subtraction class provides a single `subtract()` class that takes two parameters and will return the difference of the supplied parameters.

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

[](#installation)

Using [Composer](https://getcomposer.org/):

```
composer require svpernova/php-easy-math

```

Usage
-----

[](#usage)

See [example.php](example.php)

Getting Help
------------

[](#getting-help)

Please open a new [Github issue](https://github.com/svpernova09/php-easy-math/issues/new) detailing your problem.

Contributing
------------

[](#contributing)

Pull requests welcome, however since this library was built for demonstration purposes only pull requests may not be merged in an effort to keep the library basic and easy to understand.

###  Health Score

35

—

LowBetter than 79% of packages

Maintenance47

Moderate activity, may be stable

Popularity10

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

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

Unknown

Total

1

Last Release

2801d ago

### Community

Maintainers

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

---

Top Contributors

[![svpernova09](https://avatars.githubusercontent.com/u/967362?v=4)](https://github.com/svpernova09 "svpernova09 (32 commits)")[![hichxm](https://avatars.githubusercontent.com/u/12587585?v=4)](https://github.com/hichxm "hichxm (4 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/svpernova09-php-easy-math/health.svg)

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

###  Alternatives

[webfactor/laravel-backpack-instant-fields

Instant fields to create/edit/delete related entities on the fly in Laravel Backpack

486.9k](/packages/webfactor-laravel-backpack-instant-fields)

PHPackages © 2026

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