Have you ever been working on a PHP project and found yourself thinking “what I really need is a way to quickly and easily drop a word search in to this code”? The answer is almost certainly, no.
However, while working on Learn Finnish I found myself in exactly this situation. Being unable to find a good library, I wrote one and published it on GitHub. It is freely available under the MIT license and registered with Composer:
composer require xmeltrut/WordSearch "^1.0"
All you have to do is pass in some words and it will generate a puzzle. It supports horizontal and vertical words, intersecting words and comes with two alphabets by default: English and Finnish.
If you’re feeling generous, head over to GitHub and star it.
Don't have time to check my blog? Get a weekly email with all the new posts. This is my personal blog, so obviously it is 100% spam free.
Tags: composer, github, PHP, word search
This entry was posted on Sunday, June 5th, 2016 at 11:04 am and is filed under News, Programming. You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.