The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist light/wordcolor "~1.0.0"
or add
"light/wordcolor": "~1.0.0"
to the require section of your composer.json
file.
echo WordColor::trans('word'); // rgb(188,174,18)
$ composer test
Please see CHANGELOG for more information what has changed recently.
- word-color - javascript version, which is the original fork
- wordcolor.go - GoLang version.