PHPackages                             malgany/php-chain - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. malgany/php-chain

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

malgany/php-chain
=================

PHP Chain is a natural language processing library for PHP, inspired by the popular LangChain in Python. This library offers a modular and extensible approach to building NLP pipelines, allowing PHP developers to easily integrate natural language capabilities into their applications. PHP Chain supports a variety of NLP tasks, including but not limited to tokenization, semantic analysis, and text generation, providing a fluent interface and adaptable tool chains for different linguistic processing needs.

v1.0.0(2y ago)05MITPHP 8.2

Since Apr 25Compare

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

READMEChangelogDependencies (1)Versions (2)Used By (0)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/malgany/PHPChain).

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity53

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

753d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e524c323c6a3332da7493864cf886c4fac87244fe9137dc0471cd847056ed24c?d=identicon)[malgany](/maintainers/malgany)

---

Top Contributors

[![malgany](https://avatars.githubusercontent.com/u/4349392?v=4)](https://github.com/malgany "malgany (3 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/malgany-php-chain/health.svg)

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

###  Alternatives

[marquine/php-etl

Extract, Transform and Load data using PHP.

182137.5k](/packages/marquine-php-etl)[hi-folks/data-block

Data class for managing nested arrays and JSON data.

1472.2k](/packages/hi-folks-data-block)[supermundano/sage-the-events-calendar

1724.5k](/packages/supermundano-sage-the-events-calendar)[practically/preloader

PHP preloading for PHP &gt;=7.4

1034.7k](/packages/practically-preloader)[jiten14/jitone-ai

jitone-ai is a powerful FilamentPHP plugin that integrates AI-powered features directly into your Filament forms.

213.1k](/packages/jiten14-jitone-ai)[defstudio/enum-features

A simple trait to enable a feature system using Enums and Laravel Pennant

162.1k](/packages/defstudio-enum-features)

PHPackages © 2026

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