PHPackages                             perry-rylance/prims - 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. perry-rylance/prims

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

perry-rylance/prims
===================

Prims algorithm maze generator

02PHP

Since Dec 31Pushed 4y ago1 watchersCompare

[ Source](https://github.com/PerryRylance/Prims)[ Packagist](https://packagist.org/packages/perry-rylance/prims)[ RSS](/packages/perry-rylance-prims/feed)WikiDiscussions main Synced 6d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Prims
=====

[](#prims)

Prims algorithm and maze generator

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

[](#installation)

`composer require perry-rylance/prims`

Usage
-----

[](#usage)

First construct a Maze, specifying width, height and seed (optional).

`$maze = new Maze(15, 15, 123);`

Now call

`$maze->generate();`

Now you can access the multidimensional array of cells via

`$maze->cells;`

Recommendations
---------------

[](#recommendations)

- Odd dimensions work best (otherwise you may have a 2-cell border on one or more sides)
- Please note the generated maze does not have outer walls

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity27

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/35a517d8044830b0a015a9b7284ce900de922292ac8298b5b6320354cd19f470?d=identicon)[PerryRylance](/maintainers/PerryRylance)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/perry-rylance-prims/health.svg)

```
[![Health](https://phpackages.com/badges/perry-rylance-prims/health.svg)](https://phpackages.com/packages/perry-rylance-prims)
```

###  Alternatives

[bartlett/php-compatinfo

Find out the minimum version and the extensions required for a piece of code to run

38298.7k7](/packages/bartlett-php-compatinfo)[webbingbrasil/filament-maps

Map components for Filament.

7834.1k](/packages/webbingbrasil-filament-maps)[mrsuh/php-var-sizeof

Provides functions for getting full size of any PHP variable

609.3k](/packages/mrsuh-php-var-sizeof)[zephir/kirby-cookieconsent

Kirby cookieconsent plugin

514.4k](/packages/zephir-kirby-cookieconsent)[isszz/rotate-captcha

Rotate image captcha

801.7k](/packages/isszz-rotate-captcha)[mrpowerup/filament-sql-field

And a field to write SQL sentences using codemirror 5.

131.1k](/packages/mrpowerup-filament-sql-field)

PHPackages © 2026

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