2017 © Pedro Peláez
 

library php-math

PHP Math Utilities

image

hugsbrugs/php-math

PHP Math Utilities

  • Wednesday, March 15, 2017
  • by hugsbrugs
  • Repository
  • 1 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

php-math

This librairy provides utilities function to ease math & stats, (*1)

Build Status Coverage Status, (*2)

Install

Install package with composer, (*3)

composer require hugsbrugs/php-math

In your PHP code, load library, (*4)

require_once __DIR__ . '/../vendor/autoload.php';
use Hug\Math\Math as Math;

Usage

Return modulo of a number given a divider, (*5)

Math::modulo($nb, $divider);

Compute Dice Coefficient for 2 given texts, (*6)

Math::dice($str1 = '', $str2 = '');

Unit Tests

phpunit --bootstrap vendor/autoload.php test

Author

Hugo Maugey visit my website ;), (*7)

The Versions

15/03 2017

dev-master

9999999-dev

PHP Math Utilities

  Sources   Download

The Development Requires