PHPackages                             dmathews/crossword - 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. dmathews/crossword

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

dmathews/crossword
==================

Crossword generator, an update of mironovdv/crossword

v1.0(6y ago)011.5k↓16.7%2MITPHP

Since May 6Pushed 6y agoCompare

[ Source](https://github.com/davemathews/Crossword)[ Packagist](https://packagist.org/packages/dmathews/crossword)[ RSS](/packages/dmathews-crossword/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Crossword
=========

[](#crossword)

Php crossword generator

Column base crossword
=====================

[](#column-base-crossword)

```
$words = ['hello', 'on', 'hi'];

$crossword = new \Crossword\Crossword(2, 5, $words);
$isGenerated = $crossword->generate(\Crossword\Generate\Generate::TYPE_BASE_LINE_COLUMN);

print_r($crossword->toArray());

// [
//   ['h', 'i'],
//   ['e', ' '],
//   ['l', ' '],
//   ['l', ' '],
//   ['o', 'n'],
// ]
```

Row base crossword
==================

[](#row-base-crossword)

```
$words = ['hello', 'on', 'hi'];

$crossword = new \Crossword\Crossword(5, 2, $words);
$isGenerated = $crossword->generate(\Crossword\Generate\Generate::TYPE_BASE_LINE_ROW);

print_r($crossword->toArray());

// [
//   ['h', 'e', 'l', 'l', 'o'],
//   ['i', ' ', ' ', ' ', 'n'],
// ]
```

Random crossword
================

[](#random-crossword)

```
$words = ['ubuntu', 'bower', 'seed', 'need'];

$crossword = new \Crossword\Crossword(9, 9, $words);
$isGenerated = $crossword->generate(\Crossword\Generate\Generate::TYPE_RANDOM);

print_r($crossword->toArray());

// [
//   [' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '],
//   [' ', ' ', 'u', 'b', 'u', 'n', 't', 'u', ' '],
//   [' ', ' ', ' ', 'o', ' ', 'e', ' ', ' ', ' '],
//   [' ', ' ', ' ', 'w', ' ', 'e', ' ', ' ', ' '],
//   [' ', ' ', 's', 'e', 'e', 'd', ' ', ' ', ' '],
//   [' ', ' ', ' ', 'r', ' ', ' ', ' ', ' ', ' '],
//   [' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '],
//   [' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '],
//   [' ', ' ', ' ', ' ', '', ' ', ' ', ' ', ' '],
// ]
```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

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

2204d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/753383?v=4)[Dan Mathews](/maintainers/dmathews)[@dmathews](https://github.com/dmathews)

---

Top Contributors

[![MironowDW](https://avatars.githubusercontent.com/u/1997615?v=4)](https://github.com/MironowDW "MironowDW (10 commits)")[![davemathews](https://avatars.githubusercontent.com/u/4215945?v=4)](https://github.com/davemathews "davemathews (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/dmathews-crossword/health.svg)

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

PHPackages © 2026

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