PHPackages                             mh-code/ai - 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. mh-code/ai

ActiveLibrary

mh-code/ai
==========

A lightweight OpenAI-compatible AI client for PHP. Supports streaming and direct responses, works with any provider that implements the OpenAI API (OpenAI, DeepSeek, Moonshot, Qwen, Zhipu, Ollama, etc.).

v1.0.0(yesterday)00MITPHP &gt;=8.0

Since Aug 7Compare

[ Source](https://gitee.com/mh-code/openai)[ Packagist](https://packagist.org/packages/mh-code/ai)[ RSS](/packages/mh-code-ai/feed)WikiDiscussions Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://gitee.com/mh-code/openai).

###  Health Score

37

LowBetter than 81% of packages

Maintenance100

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

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

1d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/24ec81208024eb0ac3bc5319237bad9462544646668912a70e846c601da0274d?d=identicon)[zms-pro@foxmail.com](/maintainers/zms-pro@foxmail.com)

---

Tags

streamaiopenaissechatllmgptdeepseekollamaqwencompletions

### Embed Badge

![Health badge](/badges/mh-code-ai/health.svg)

```
[![Health](https://phpackages.com/badges/mh-code-ai/health.svg)](https://phpackages.com/packages/mh-code-ai)
```

###  Alternatives

[cognesy/instructor-php

The complete AI toolkit for PHP: unified LLM API, structured outputs, agents, and coding agent control

326127.9k1](/packages/cognesy-instructor-php)

PHPackages © 2026

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