定制 iiiicaro/sentiment-thermometer 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

iiiicaro/sentiment-thermometer

Composer 安装命令:

composer require iiiicaro/sentiment-thermometer

包简介

Measure the sentiment around a word, name, sentence or hashtag using social networks.

README 文档

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.

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

  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! ✅

统计信息

  • 总下载量: 53
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 57
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 57
  • Watchers: 5
  • Forks: 7
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-02-17

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固