PHPackages                             samweru/mops - 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. samweru/mops

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

samweru/mops
============

Matrix Operations

02PHPCI failing

Since Jul 15Pushed 5y agoCompare

[ Source](https://github.com/samweru/mops)[ Packagist](https://packagist.org/packages/samweru/mops)[ RSS](/packages/samweru-mops/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Matrix Operations
=================

[](#matrix-operations)

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

[](#installation)

```
composer require samweru/mops
```

Example
-------

[](#example)

```
require "vendor/autoload.php";

$a = array(

	array(1,2,3),
	array(4,5,6),
	array(7,8,9)
);

$b = array(

	array(11,22,33),
	array(44,55,66),
	array(77,88,99)
);

$aa = Mops\Matrix::create($a);
$bb = Mops\Matrix::create($b);

echo $aa->multiply($bb);
```

Other Operations
----------------

[](#other-operations)

```
$aa->transpose();//return Mops\Matrix
$aa->yield();//return array
```

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity33

Early-stage or recently created project

 Bus Factor1

Top contributor holds 50% 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/104033121?v=4)[samweru](/maintainers/samweru)[@samweru](https://github.com/samweru)

---

Top Contributors

[![pitsolu](https://avatars.githubusercontent.com/u/16669704?v=4)](https://github.com/pitsolu "pitsolu (1 commits)")[![samweru](https://avatars.githubusercontent.com/u/104033121?v=4)](https://github.com/samweru "samweru (1 commits)")

### Embed Badge

![Health badge](/badges/samweru-mops/health.svg)

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

###  Alternatives

[kartik-v/yii2-helpers

A collection of useful helper functions for Yii Framework 2.0

933.1M29](/packages/kartik-v-yii2-helpers)[magento/composer

Magento composer library helps to instantiate Composer application and run composer commands.

337.9M12](/packages/magento-composer)

PHPackages © 2026

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