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

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

nazububu/sum
============

Simple PHP package for add two numbers

1.1(3y ago)19342[1 PRs](https://github.com/nazububu/sum/pulls)MITPHPPHP ^7 || ^8

Since Oct 6Pushed 3y ago2 watchersCompare

[ Source](https://github.com/nazububu/sum)[ Packagist](https://packagist.org/packages/nazububu/sum)[ RSS](/packages/nazububu-sum/feed)WikiDiscussions master Synced 3d ago

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

Sum
===

[](#sum)

Simple PHP package for add two numbers

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

[](#installation)

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

```
composer require nazububu/sum
```

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

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

Using
-----

[](#using)

```
use Nazububu\Sum\Sum;

$sum = new Sum;
echo $sum->calculate(1, 1); // 2
```

Testing
-------

[](#testing)

You can run tests with command

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

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity51

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

Total

2

Last Release

1436d ago

PHP version history (2 changes)1.0PHP ^7.1

1.1PHP ^7 || ^8

### Community

Maintainers

![](https://www.gravatar.com/avatar/09e133bd47824d1bdffa3c024aaf991a3d21533b991048510e1f862c1c628e1c?d=identicon)[nazububu](/maintainers/nazububu)

---

Top Contributors

[![nazububu](https://avatars.githubusercontent.com/u/52957531?v=4)](https://github.com/nazububu "nazububu (18 commits)")

---

Tags

phpsum

###  Code Quality

TestsPHPUnit

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/nazububu-sum/health.svg)](https://phpackages.com/packages/nazububu-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)
