bmykyta/sum

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

Maintainers

Details

github.com/bmykyta/sum

Source

Issues

Installs: 4

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/bmykyta/sum

v1.0.1 2022-05-01 20:18 UTC

This package is auto-updated.

Last update: 2025-12-29 03:34:28 UTC


README

Stand With Ukraine

Made in Ukraine Issues Packagist License Packagist PHP Version Support GitHub Repo stars

Sum

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

How to install

To get the latest version of Sum, simply require the project using Composer:

composer require bmykyta/sum

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

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

How to use

use bmykyta\Sum\Sum;

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

Execute tests

You can run tests with command

vendor/bin/phpunit tests/