PHPackages                             bmykyta/sum - 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. bmykyta/sum

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

bmykyta/sum
===========

A simple package to add two numbers with same/different data types.

v1.0.1(4y ago)24MITPHPPHP ^8.0

Since Apr 9Pushed 4y ago1 watchersCompare

[ Source](https://github.com/bmykyta/sum)[ Packagist](https://packagist.org/packages/bmykyta/sum)[ RSS](/packages/bmykyta-sum/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

[![Stand With Ukraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/banner-direct-single.svg)](https://stand-with-ukraine.pp.ua)

[![Made in Ukraine](https://camo.githubusercontent.com/43115c9fb377039d5dac27be07e5f0e21ea561f4fa1e66ed1aa39e723784ede0/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6d6164655f696e2d756b7261696e652d6666643730302e7376673f6c6162656c436f6c6f723d303035376237)](https://stand-with-ukraine.pp.ua)[![Issues](https://camo.githubusercontent.com/95af52a1b1fc130e7c736a9da797665d5dc07369e7372f0f3342b53bd1d3db8b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f626d796b7974612f73756d3f6c6162656c436f6c6f723d25323366633030303026636f6c6f723d303030303030)](https://github.com/bmykyta/sum/issues)[![Packagist License](https://camo.githubusercontent.com/ff2a2e2566c50d219162c47c09b793d7cbf9c719a5eb31f537299f71146fd46a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f626d796b7974612f73756d)](https://camo.githubusercontent.com/ff2a2e2566c50d219162c47c09b793d7cbf9c719a5eb31f537299f71146fd46a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f626d796b7974612f73756d)[![Packagist PHP Version Support](https://camo.githubusercontent.com/e9033fe80acbd628e744927c8ae3eb8a6e1359ed85f95e813001451762fa8449/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f626d796b7974612f73756d)](https://camo.githubusercontent.com/e9033fe80acbd628e744927c8ae3eb8a6e1359ed85f95e813001451762fa8449/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f626d796b7974612f73756d)[![GitHub Repo stars](https://camo.githubusercontent.com/42b8be566e4accc570419de729567e4520ac14dd621ea22980501f436ede4a05/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f626d796b7974612f73756d3f7374796c653d736f6369616c)](https://camo.githubusercontent.com/42b8be566e4accc570419de729567e4520ac14dd621ea22980501f436ede4a05/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f626d796b7974612f73756d3f7374796c653d736f6369616c)

Sum
===

[](#sum)

A simple package to add two numbers with same/different data types.

How to install
--------------

[](#how-to-install)

To get the latest version of `Sum`, simply require the project using [Composer](https://getcomposer.org):

```
composer require bmykyta/sum
```

Or manually update `require` block of `composer.json` and run `composer update`.

```
{
  "require": {
    "bmykyta/sum": "^1.0"
  }
}
```

How to use
----------

[](#how-to-use)

```
use bmykyta\Sum\Sum;

$sum = new Sum;
echo $sum->calculate(617, 617); // 1234
```

Execute tests
-------------

[](#execute-tests)

You can run tests with command

```
vendor/bin/phpunit tests/
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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

Total

2

Last Release

1476d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8434af946fcd62cf8932a52054fdfbb111bd0d6ecbcc4c372a5ac7db0ee2ec25?d=identicon)[bmykyta](/maintainers/bmykyta)

---

Top Contributors

[![bmykyta](https://avatars.githubusercontent.com/u/31631183?v=4)](https://github.com/bmykyta "bmykyta (3 commits)")

---

Tags

phpsumsummator

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/bmykyta-sum/health.svg)

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

###  Alternatives

[imanghafoori/laravel-anypass

A minimal yet powerful package to help you in development.

21421.6k](/packages/imanghafoori-laravel-anypass)

PHPackages © 2026

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