PHPackages                             jbuncle/php-vadersentiment - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. jbuncle/php-vadersentiment

ActiveLibrary

jbuncle/php-vadersentiment
==========================

1.0.0(5y ago)1834↓33.3%MITPHP

Since May 24Pushed 5y agoCompare

[ Source](https://github.com/jbuncle/php-vadersentiment)[ Packagist](https://packagist.org/packages/jbuncle/php-vadersentiment)[ RSS](/packages/jbuncle-php-vadersentiment/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

VADER Sentiment Analysis
========================

[](#vader-sentiment-analysis)

VADER (Valence Aware Dictionary and sEntiment Reasoner) is a lexicon and rule-based sentiment analysis tool that iessed in social media.

Example code
------------

[](#example-code)

```
use VaderSentiment\SentimentIntensityAnalyzer;

require_once __DIR__ . "/vendor/autoload.php";

$textToTest = "VADER is smart, handsome, and funny.";

$sentimenter = new SentimentIntensityAnalyzer();
$result = $sentimenter->getSentiment($textToTest);

print_r($result);
```

Output of example code
----------------------

[](#output-of-example-code)

```
Array
(
    [neg] => 0
    [neu] => 0.337
    [pos] => 0.663
    [compound] => 0.7096
)

```

Copyright and license
---------------------

[](#copyright-and-license)

The original source code is copyright © 2013 C.J. Hutto

Where applicable, the ported source code is copyright © 2016 Andrew Busby. All rights reserved. The ported code is made available under the MIT license. A copy of the license can be found in the LICENSE.txt file.

Acknowledgments
---------------

[](#acknowledgments)

This is a php port of the vader sentiment analysis tool orginally written in python and found

This README file describes the dataset of the paper:
----------------------------------------------------

[](#this-readme-file-describes-the-dataset-of-the-paper)

VADER: A Parsimonious Rule-based Model for Sentiment Analysis of Social Media Text (by C.J. Hutto and Eric Gilbert) Eighth International Conference on Weblogs and Social Media (ICWSM-14). Ann Arbor, MI, June 2014.

Citation Information
--------------------

[](#citation-information)

If you use either the dataset or any of the VADER sentiment analysis tools (VADER sentiment lexicon or Python code for rule-based sentiment analysis engine) in your research, please cite the above paper. For example:

Hutto, C.J. &amp; Gilbert, E.E. (2014). VADER: A Parsimonious Rule-based Model for Sentiment Analysis of Social Media Text. Eighth International Conference on Weblogs and Social Media (ICWSM-14). Ann Arbor, MI, June 2014.

Fork Maintainer
---------------

[](#fork-maintainer)

This repository is maintained by [jbuncle](https://www.jbuncle.co.uk).

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 68.8% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2185d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7d2b61c26f3cae0b6e0b8c9e07555b189fe71e5b141e5e1a8129acaace3f674d?d=identicon)[jbuncle](/maintainers/jbuncle)

---

Top Contributors

[![abusby](https://avatars.githubusercontent.com/u/416196?v=4)](https://github.com/abusby "abusby (11 commits)")[![jbuncle](https://avatars.githubusercontent.com/u/11473689?v=4)](https://github.com/jbuncle "jbuncle (5 commits)")

---

Tags

composercomposer-packagevader-sentiment-analysis

### Embed Badge

![Health badge](/badges/jbuncle-php-vadersentiment/health.svg)

```
[![Health](https://phpackages.com/badges/jbuncle-php-vadersentiment/health.svg)](https://phpackages.com/packages/jbuncle-php-vadersentiment)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
