Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/isfonzar/sentiment-thermometer

Measure the sentiment towards a word, name or sentence on social networks
https://github.com/isfonzar/sentiment-thermometer

composer machine-learning php sentiment-analysis twitter

Last synced: about 22 hours ago
JSON representation

Measure the sentiment towards a word, name or sentence on social networks

Awesome Lists containing this project

README

        


Language
License
Latest Stable Version

## About Sentiment Thermometer
Sentiment Thermometer is a library and tool to measure the sentiment around a word, name, sentence or hashtag using social networks.

![](http://i.imgur.com/UZyHxN1.gif)

## Features

- Fully integrated with twitter feed
- Positive/negative/neutral analysis
- EASY to incorporate on your projects
- CUSTOMIZE to your needs
- STUPIDLY [EASY TO USE](https://github.com/iiiicaro/SentimentThermometer#usage)
- Very fast start up and response time

## Installation

### Composer

```bash
$ composer require iiiicaro/sentiment-thermometer
```

## Usage

### Basic usage

```php
[
'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](https://github.com/iiiicaro/sentiment-thermometer/issues) to report any bugs or feature requests.

## Social Coding

1. Create an issue to discuss about your idea
2. [Fork it] (https://github.com/iiiicaro/sentiment-thermometer/fork)
3. Create your feature branch (`git checkout -b my-new-feature`)
4. Commit your changes (`git commit -am 'Add some feature'`)
5. Push to the branch (`git push origin my-new-feature`)
6. Create a new Pull Request
7. Profit! :white_check_mark: