PHPackages                             xmeltrut/word-search - 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. xmeltrut/word-search

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

xmeltrut/word-search
====================

Word search generator.

1.0.3(9y ago)103.4k↓42.5%5MITPHPPHP &gt;=5.6.0

Since May 22Pushed 10mo ago1 watchersCompare

[ Source](https://github.com/xmeltrut/WordSearch)[ Packagist](https://packagist.org/packages/xmeltrut/word-search)[ Docs](http://github.com/xmeltrut/WordSearch)[ RSS](/packages/xmeltrut-word-search/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (5)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 xmeltrut/word-search "^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

40

—

FairBetter than 88% of packages

Maintenance39

Infrequent updates — may be unmaintained

Popularity32

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

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

Every ~26 days

Total

4

Last Release

3563d ago

PHP version history (2 changes)1.0.1PHP &gt;=5.5.0

1.0.3PHP &gt;=5.6.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/961906?v=4)[Chris Worfolk](/maintainers/xmeltrut)[@xmeltrut](https://github.com/xmeltrut)

---

Top Contributors

[![xmeltrut](https://avatars.githubusercontent.com/u/961906?v=4)](https://github.com/xmeltrut "xmeltrut (20 commits)")[![martinyde](https://avatars.githubusercontent.com/u/545272?v=4)](https://github.com/martinyde "martinyde (16 commits)")[![MichalPP](https://avatars.githubusercontent.com/u/3583700?v=4)](https://github.com/MichalPP "MichalPP (1 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/xmeltrut-word-search/health.svg)

```
[![Health](https://phpackages.com/badges/xmeltrut-word-search/health.svg)](https://phpackages.com/packages/xmeltrut-word-search)
```

###  Alternatives

[felipebool/crook

Crook is a simple tool to ease your life when dealing with git hooks

5813.8k](/packages/felipebool-crook)[minube/amplitude-php

Amplitude SDK for PHP - Use Amplitude in your PHP project

1455.7k](/packages/minube-amplitude-php)[georgeboot/laravel-tiptap

Opinionated integration of Tiptap editor using the TALL stack

346.4k](/packages/georgeboot-laravel-tiptap)

PHPackages © 2026

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