whacking1234 / sumlib
This package implements the function of adding large numbers via custom algorythm
Installs: 3
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 1
Open Issues: 0
pkg:composer/whacking1234/sumlib
Requires
- php: ^7.1
Requires (Dev)
- ext-bcmath: *
- phpunit/phpunit: 5.x
Suggests
- ext-bcmath: For sum function testing
This package is not auto-updated.
Last update: 2025-10-30 22:01:58 UTC
README
Installation
The recommended way to install the library is through Composer:
$ composer require whacking1234/sumlib:@dev
Usage
use function Whacking1234\functions\sum; echo sum('8116789921361823993123', '44181262393');
Tests
To run unit test:
$ phpunit --testsuite Unit
To run all tests:
$ phpunit