PHPackages                             jitesoft/math - 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. jitesoft/math

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

jitesoft/math
=============

Math lib for php 7.1+.

1.0.0(8y ago)03901MITPHPPHP &gt;7.1

Since Aug 27Pushed 8y ago1 watchersCompare

[ Source](https://github.com/jitesoft/php-math)[ Packagist](https://packagist.org/packages/jitesoft/math)[ RSS](/packages/jitesoft-math/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (2)Versions (3)Used By (1)

Math
====

[](#math)

[![Build Status](https://camo.githubusercontent.com/0b8903f47f097f1b385fca3a156030175aa749df90532ec512b712a82e9aea3c/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6a697465736f66742f7068702d6d6174682f6d61737465722e7376673f6c6162656c3d6d6173746572)](https://travis-ci.org/jitesoft/php-math)

[![Build Status](https://camo.githubusercontent.com/f3504dfc147982364c1d6849fa5747cb75339c981a8a274ee70cf875694eba56/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6a697465736f66742f7068702d6d6174682f646576656c6f702e7376673f6c6162656c3d646576656c6f70)](https://travis-ci.org/jitesoft/php-math)

[![Dependency Status](https://camo.githubusercontent.com/ee4741f67514cb73b71546571f9c1320affe5476ab8ba960a9feaad9b6b1c154/68747470733a2f2f67656d6e617369756d2e636f6d2f6261646765732f6769746875622e636f6d2f6a697465736f66742f7068702d6d6174682e737667)](https://gemnasium.com/github.com/jitesoft/php-math)

[![codecov](https://camo.githubusercontent.com/030d6396c97ec3fbc6263a12e6fa71ab20f51fd8231624f4b36bfe40c78949d4/68747470733a2f2f636f6465636f762e696f2f67682f6a697465736f66742f7068702d6d6174682f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/jitesoft/php-math)

A Math library for php 7.1+.
This lib was extracted from the `Jitesoft\Utilities\DataStructures` project.

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

[](#installation)

Clone the repository or install with composer.

```
composer require jitesoft/math
```

Implemented classes
-------------------

[](#implemented-classes)

`Jitesoft\Utilities\Math`

- `Math` - Misc static math helpers.
- `Point2D` - A point structure in 2D space.
- `Point3D` - A point structure in 3D space.
- `Vector2D` - A vector structure in 2D space.
- `Vector3D` - A vector structure in 3D space.
- `Vector4D` - A vector structure in 4D space.
- `VectorMath` - Common math for all vector types.
- `Matrix33` - A matrix structure with 3\*3 indexes.
- `Matrix44` - A matrix structure with 4\*4 indexes.
- `MatrixMath` - Common math for all matrices.

License
-------

[](#license)

```
MIT License

Copyright (c) 2017 Jitesoft

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

```

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity59

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

Unknown

Total

1

Last Release

3229d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/07b2a82fa106892922a64f5a0456ed429fc8d1900f9d29be5475d5083b8f5304?d=identicon)[Jitesoft](/maintainers/Jitesoft)

---

Top Contributors

[![Johannestegner](https://avatars.githubusercontent.com/u/2530181?v=4)](https://github.com/Johannestegner "Johannestegner (5 commits)")

---

Tags

vectormatrixmath

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/jitesoft-math/health.svg)

```
[![Health](https://phpackages.com/badges/jitesoft-math/health.svg)](https://phpackages.com/packages/jitesoft-math)
```

###  Alternatives

[markbaker/matrix

PHP Class for working with matrices

1.5k295.1M39](/packages/markbaker-matrix)[brick/math

Arbitrary-precision arithmetic library

2.2k532.9M378](/packages/brick-math)[markrogoyski/math-php

Math Library for PHP. Features descriptive statistics and regressions; Continuous and discrete probability distributions; Linear algebra with matrices and vectors, Numerical analysis; special mathematical functions; Algebra

2.4k7.4M48](/packages/markrogoyski-math-php)[rubix/tensor

A library and extension that provides objects for scientific computing in PHP.

2791.5M5](/packages/rubix-tensor)[rindow/rindow-math-matrix

The fundamental package for scientific matrix operation

13306.8k7](/packages/rindow-rindow-math-matrix)[nubs/vectorix

A vector library.

162.4k2](/packages/nubs-vectorix)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
