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 1w 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

[spatie/laravel-package-tools

Tools for creating Laravel packages

935125.5M7.0k](/packages/spatie-laravel-package-tools)[wikimedia/aho-corasick

An implementation of the Aho-Corasick string matching algorithm.

573.5M3](/packages/wikimedia-aho-corasick)[tapp/laravel-aws-secrets-manager

Use AWS Secrets manager to load environment variables for configuration.

37208.6k](/packages/tapp-laravel-aws-secrets-manager)[designthebox/barcode-field

225.8k](/packages/designthebox-barcode-field)

PHPackages © 2026

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