I’ve made a little php class for messing round with words, you can see a demo of some of the functions here: Wordplay Demo 🔗.
You can download the class here: jedidiah.eu/wordplay.zip 🔗
I’m a designer not a programmer so I make no guaranties about the efficiency of the code, and if you have any suggestions or improvements please let me know.
I’m setting this code free under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License 🔗.