math-utils

Mathematical objects in a PHP library

View project on GitHub

math-utils

Build Status Coverage Status SensioLabs Insight Dependency Status GitHub license

This library provide mathematical objects for PHP 5.4+

Content

2D (WIP)

  • Point2d
  • Polygon
  • Rectangle
  • Triangle
  • Vector2d

3D (WIP)

  • Point3d
  • Vector3d
  • Matrix3d

Arithmetic

  • Fraction
  • FractionCollection
  • Utils

Install

Using composer

composer require tazorax/math-utils

Documentation

For more detailed information you can check our online documentation at http://tazorax.github.io/math-utils/docs/master/