PHPackages                             muchmhaliq/phpinsight - 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. muchmhaliq/phpinsight

ActiveLibrary

muchmhaliq/phpinsight
=====================

Sentiment analysis tool for PHP (Indonesia Language)

1.0.0(2y ago)08MITHackPHP &gt;=7.4

Since Sep 21Pushed 2y ago1 watchersCompare

[ Source](https://github.com/muchmhaliq/php-insight)[ Packagist](https://packagist.org/packages/muchmhaliq/phpinsight)[ Docs](https://github.com/muchmhaliq/phpinsight)[ RSS](/packages/muchmhaliq-phpinsight/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

PHP Insight Sentiment Analysis
==============================

[](#php-insight-sentiment-analysis)

---

Sentiment analysis is the process of analyzing digital text to determine whether the emotional tone of the message is positive, negative, or neutral. Sentiment analysis tools can scan this text to automatically determine the author's attitude toward a topic.

### Installation

[](#installation)

```
composer require mashmhaliq/php-insight
```

### How to Usage

[](#how-to-usage)

```
use PHPInsight\Sentiment;
#....
$analyzer = new Sentiment();
$analyzer->categorise($string); #return text category, positive, negative or neutral
$scores = $analyzer->score($string);

#Returns text scores, for example
#(
#    [neg] => 0.865
#    [neu] => 0.108
#    [pos] => 0.027
#)
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

971d ago

### Community

Maintainers

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

---

Top Contributors

[![muchmhaliq](https://avatars.githubusercontent.com/u/46683792?v=4)](https://github.com/muchmhaliq "muchmhaliq (11 commits)")

---

Tags

phpanalysissentimentinsightsentiment analysis

### Embed Badge

![Health badge](/badges/muchmhaliq-phpinsight/health.svg)

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

###  Alternatives

[antoineaugusti/laravel-sentiment-analysis

A Laravel wrapper that performs sentiment analysis over an English sentence

45117.2k1](/packages/antoineaugusti-laravel-sentiment-analysis)[symbiote/silverstripe-phpstan

PHPStan for Silverstripe

1223.7k14](/packages/symbiote-silverstripe-phpstan)

PHPackages © 2026

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