PHPackages                             axguowen/think-aichat - 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. axguowen/think-aichat

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

axguowen/think-aichat
=====================

Simple AI Chat For ThinkPHP

10PHP

Since Feb 24Pushed 4mo agoCompare

[ Source](https://github.com/axguowen/think-aichat)[ Packagist](https://packagist.org/packages/axguowen/think-aichat)[ RSS](/packages/axguowen-think-aichat/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

ThinkPHP AI 聊天
==============

[](#thinkphp-ai-聊天)

一个简单的 ThinkPHP AI 聊天

安装
--

[](#安装)

```
composer require axguowen/think-aichat

```

使用
--

[](#使用)

首先配置config目录下的aichat.php配置文件。

```
$aiChat = \think\facade\AiChat::platform('qianfan', [
    'api_key' => 'your api key',
]);
// 发起一次对话请求
$sendResult = $aiChat->send();
var_dump($sendResult);
```

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance52

Moderate activity, may be stable

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity12

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/5bb2b3388238042a25cf42dc44e5ff84adc241510354abae9e91573556753205?d=identicon)[axguowen](/maintainers/axguowen)

---

Top Contributors

[![axguowen](https://avatars.githubusercontent.com/u/61955804?v=4)](https://github.com/axguowen "axguowen (2 commits)")

### Embed Badge

![Health badge](/badges/axguowen-think-aichat/health.svg)

```
[![Health](https://phpackages.com/badges/axguowen-think-aichat/health.svg)](https://phpackages.com/packages/axguowen-think-aichat)
```

###  Alternatives

[ikkez/f3-pagination

Provides a pagebrowser and some pagination utilities for the PHP Fat-Free Framework

1625.9k2](/packages/ikkez-f3-pagination)

PHPackages © 2026

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