PHPackages                             vamanai/sentiment - 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. vamanai/sentiment

ActiveLibrary

vamanai/sentiment
=================

Laravel machine learning based Text Sentiment Analysis package from VamanAI.com

00PHPCI failing

Since Oct 19Pushed 6y ago1 watchersCompare

[ Source](https://github.com/vamanai/laravel-sentiment-analysis)[ Packagist](https://packagist.org/packages/vamanai/sentiment)[ RSS](/packages/vamanai-sentiment/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

VamanAI Laravel Sentiment Text Analysis
=======================================

[](#vamanai-laravel-sentiment-text-analysis)

[![CircleCI](https://camo.githubusercontent.com/5a5ed421e2f745acb86b58d53b53846faeb2b3afcf4983ea1d3880b048df022c/68747470733a2f2f636972636c6563692e636f6d2f67682f76616d616e61692f6c61726176656c2d73656e74696d656e742d616e616c797369732e7376673f7374796c653d737667)](https://circleci.com/gh/vamanai/laravel-sentiment-analysis)[![License](https://camo.githubusercontent.com/3462959a41920b410d3d66c8eb94e0495ee9f9e57b58bf0a25400f466737b171/68747470733a2f2f706f7365722e707567782e6f72672f76616d616e61692f73656e74696d656e742f6c6963656e7365)](https://packagist.org/packages/vamanai/sentiment)[![Total Downloads](https://camo.githubusercontent.com/7a7760a09deca4fa8d1e884fb4b978f540b30a34048d2ef2168ac137661dcffd/68747470733a2f2f706f7365722e707567782e6f72672f76616d616e61692f73656e74696d656e742f646f776e6c6f616473)](https://packagist.org/packages/vamanai/sentiment)

### Introduction

[](#introduction)

[VamanAI](https://vamanai.com)Sentiment proviced an exessive, fluent ready to use laravel package to perform Text or Sentiment analysis on text.

### Pre-requisites

[](#pre-requisites)

You should have a valid account on [VamanAI.com](https://vamanai.com/register). After creating a free account you need to generate your [API token](https://vamanai.com/user/profile#/api) which will be used in the package for user identifications/roles. You can [generate your free API token](https://vamanai.com/user/profile#/api)) from [here](https://vamanai.com/user/profile#/api).

You also need following packages if not already installed-

` "guzzlehttp/guzzle": "^6.3",`
`"symfony/psr-http-message-bridge": "0.2"`

Installation
------------

[](#installation)

`composer require vamanai/sentiment`

### Basic Usage

[](#basic-usage)

`use Sentiment\classes\Vaman;`

##### Sample call

[](#sample-call-)

`Vaman::sentiment('I love you');`

##### Sample output

[](#sample-output)

`{"text":"I love you","sentiment":"0.8943807601928711"}`

License
-------

[](#license)

VamanAI Sentiment is open-source software licensed under the [MIT license](https://opensource.org/licenses/MIT)

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/9cdc0a8cc400c3defb2f0fd1a4fde7a17f2793a60a8776f9a9cf71a7b48b74e0?d=identicon)[vamanai](/maintainers/vamanai)

---

Top Contributors

[![parthrai](https://avatars.githubusercontent.com/u/12181297?v=4)](https://github.com/parthrai "parthrai (6 commits)")

### Embed Badge

![Health badge](/badges/vamanai-sentiment/health.svg)

```
[![Health](https://phpackages.com/badges/vamanai-sentiment/health.svg)](https://phpackages.com/packages/vamanai-sentiment)
```

PHPackages © 2026

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