PHPackages                             coderubix/wordsearch - 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. coderubix/wordsearch

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

coderubix/wordsearch
====================

Word search generator.

00PHP

Since Oct 14Pushed 2y agoCompare

[ Source](https://github.com/developer-ashok/wordsearch)[ Packagist](https://packagist.org/packages/coderubix/wordsearch)[ RSS](/packages/coderubix-wordsearch/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Word Search
===========

[](#word-search)

[![Build Status](https://camo.githubusercontent.com/0df067bf1acb4a3f576e9cd82320adf0b39b08d01d6d101ea35948818a74f3ad/68747470733a2f2f7472617669732d63692e6f72672f786d656c747275742f576f72645365617263682e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/xmeltrut/WordSearch)[![Latest Stable Version](https://camo.githubusercontent.com/bd714577fe059234c9fd91a3b1238aa9f1b5f383ff9df4bb0a14fbbb42af2d0b/68747470733a2f2f706f7365722e707567782e6f72672f786d656c747275742f776f72642d7365617263682f762f737461626c65)](https://packagist.org/packages/xmeltrut/word-search)[![License](https://camo.githubusercontent.com/90f56a78e42418e45a74c44d45a70f605c267aaffefcbf9ddd08135d4208e80d/68747470733a2f2f706f7365722e707567782e6f72672f786d656c747275742f776f72642d7365617263682f6c6963656e7365)](https://packagist.org/packages/xmeltrut/word-search)

Word search generator written in PHP.

Features:

- Supports multiple words and grid sizes
- Supports horizontal and vertical words
- Supports intersecting words
- English and Finnish alphabets

Produces a grid for you to output, and list of answers.

```
HHEOÖ
EÖBAR
LSJFD
LLTOK
OPÖOU

```

Install
-------

[](#install)

Install via Composer:

```
$ composer require coderubix/wordsearch "^1.0"
```

Usage
-----

[](#usage)

In English:

```
$puzzle = WordSearch\Factory::create(['foo', 'bar']);

```

In Finnish, with a custom grid size:

```
$puzzle = WordSearch\Factory::create(
    ['mansikka', 'omena', banaani'],
    10,
    'fi'
);

```

The `Puzzle` object contains a `toArray` method for the puzzle grid and an iterable `WordList` object with the answers in. You can use these to output the puzzle yourself, or use the HTML transformer.

```
$transformer = new WordSearch\Transformer\HtmlTransformer($puzzle);
echo $transformer->grid();
echo $transformer->wordList();

```

Development
-----------

[](#development)

Tests can be run via Ant:

```
ant

```

###  Health Score

12

—

LowBetter than 0% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity20

Early-stage or recently created project

 Bus Factor1

Top contributor holds 85.7% 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/f85d0845de47be3aaaf3709a8a14fae33c16d9685a3f85eec5aae0fbedaf69ba?d=identicon)[coderubix](/maintainers/coderubix)

---

Top Contributors

[![xmeltrut](https://avatars.githubusercontent.com/u/961906?v=4)](https://github.com/xmeltrut "xmeltrut (18 commits)")[![developer-ashok](https://avatars.githubusercontent.com/u/14976868?v=4)](https://github.com/developer-ashok "developer-ashok (3 commits)")

### Embed Badge

![Health badge](/badges/coderubix-wordsearch/health.svg)

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

###  Alternatives

[mundschenk-at/php-typography

A PHP library for improving your web typography

78945.6k13](/packages/mundschenk-at-php-typography)

PHPackages © 2026

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