https://github.com/lichunqiang/wordcolor.php
Get the color from the words
https://github.com/lichunqiang/wordcolor.php
Last synced: 3 months ago
JSON representation
Get the color from the words
- Host: GitHub
- URL: https://github.com/lichunqiang/wordcolor.php
- Owner: lichunqiang
- License: mit
- Created: 2016-03-21T14:27:58.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-06-28T13:24:14.000Z (almost 9 years ago)
- Last Synced: 2025-01-16T09:05:33.368Z (5 months ago)
- Language: PHP
- Homepage:
- Size: 8.79 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
wordcolor
========
[](http://travis-ci.org/lichunqiang/wordcolor.php)
[](https://packagist.org/packages/light/wordcolor)
[](https://packagist.org/packages/light/wordcolor)
[](https://scrutinizer-ci.com/g/lichunqiang/wordcolor.php)
[](https://scrutinizer-ci.com/g/lichunqiang/wordcolor.php)
[](http://weibo.com/chunqiang)Installation
------------The preferred way to install this extension is through [composer](http://getcomposer.org/download/).
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.
Usage
-----```
echo WordColor::trans('word'); // rgb(188,174,18)
```Tests
-----```
$ composer test
```Change Log
----------Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.
Related
-------* [word-color](https://github.com/afc163/word-color) - javascript version, which is the original fork
* [wordcolor.go](https://github.com/lichunqiang/wordcolor.go) - GoLang version.License
-------
[](LICENSE)