Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lichunqiang/wordcolor.php
Get the color from the words
https://github.com/lichunqiang/wordcolor.php
Last synced: 3 days 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 (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-06-28T13:24:14.000Z (over 8 years ago)
- Last Synced: 2024-11-15T20:39:02.399Z (2 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
========
[![Build Status](https://img.shields.io/travis/lichunqiang/wordcolor.php.svg?style=flat-square)](http://travis-ci.org/lichunqiang/wordcolor.php)
[![version](https://img.shields.io/packagist/v/light/wordcolor.svg?style=flat-square)](https://packagist.org/packages/light/wordcolor)
[![Download](https://img.shields.io/packagist/dt/light/wordcolor.svg?style=flat-square)](https://packagist.org/packages/light/wordcolor)
[![Scrutinizer Code Quality](https://img.shields.io/scrutinizer/g/lichunqiang/wordcolor.php.svg?style=flat-square)](https://scrutinizer-ci.com/g/lichunqiang/wordcolor.php)
[![Code Coverage](https://img.shields.io/scrutinizer/coverage/g/lichunqiang/wordcolor.php.svg?style=flat-square)](https://scrutinizer-ci.com/g/lichunqiang/wordcolor.php)
[![Contact](https://img.shields.io/badge/[email protected]?style=flat-square)](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
-------
[![MIT](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](LICENSE)