iiiicaro/sentiment-thermometer
Composer 安装命令:
composer require iiiicaro/sentiment-thermometer
包简介
Measure the sentiment around a word, name, sentence or hashtag using social networks.
README 文档
README
About Sentiment Thermometer
Sentiment Thermometer is a library and tool to measure the sentiment around a word, name, sentence or hashtag using social networks.
Features
- Fully integrated with twitter feed
- Positive/negative/neutral analysis
- EASY to incorporate on your projects
- CUSTOMIZE to your needs
- STUPIDLY EASY TO USE
- Very fast start up and response time
Installation
Composer
$ composer require iiiicaro/sentiment-thermometer
Usage
Basic usage
<?php require(__DIR__ . '/../vendor/autoload.php'); use iiiicaro\SentimentThermometer\SentimentThermometer; $config = [ 'twitter' => [ 'consumer_key' => 'CONSUMER_KEY_HERE', 'consumer_secret' => 'CONSUMER_SECRET_HERE', ] ]; $sentimentThermometer = new SentimentThermometer($config); $thermomether = $sentimentThermometer->get('Donald Trump'); print_r($thermomether);
Contributing
Bug Reports & Feature Requests
Please use the issue tracker to report any bugs or feature requests.
Social Coding
- Create an issue to discuss about your idea
- [Fork it] (https://github.com/iiiicaro/sentiment-thermometer/fork)
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
- Profit! ✅
统计信息
- 总下载量: 53
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 57
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-02-17