PHPackages                             justmd5/laravel-tencent-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. justmd5/laravel-tencent-ai

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

justmd5/laravel-tencent-ai
==========================

腾讯AI开放平台sdk.

v1.2.0(6y ago)13694MITPHPPHP &gt;=7.0

Since Mar 20Pushed 6y agoCompare

[ Source](https://github.com/justmd5/laravel-tencent-ai)[ Packagist](https://packagist.org/packages/justmd5/laravel-tencent-ai)[ RSS](/packages/justmd5-laravel-tencent-ai/feed)WikiDiscussions master Synced yesterday

READMEChangelog (2)Dependencies (1)Versions (4)Used By (0)

腾讯AI开放平台 SDK
============

[](#腾讯ai开放平台-sdk)

Tencent AI open platform sdk

[![styleci](https://camo.githubusercontent.com/3d4c2085a23f010d135c0397c0b0addb77447ccb86b1def4b94396accb8a7691/68747470733a2f2f7374796c6563692e696f2f7265706f732f3133383533333734342f736869656c643f6272616e63683d6d6173746572)](https://styleci.io/repos/138533744)[![PHP from Packagist](https://camo.githubusercontent.com/d107cbf6f48e8ec33d4b72ea5e0bbf2a9f15727574d2ebe2c2db1fc39838cbcb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6a7573746d64352f6c61726176656c2d74656e63656e742d61692e737667)](https://packagist.org/packages/justmd5/laravel-tencent-ai)[![Latest Stable Version](https://camo.githubusercontent.com/983eb18a1ab7a3d940556d3749894dcfc16b27cb17d7871a9879e4d351c01460/68747470733a2f2f706f7365722e707567782e6f72672f6a7573746d64352f6c61726176656c2d74656e63656e742d61692f762f737461626c652e737667)](https://packagist.org/packages/justmd5/laravel-tencent-ai)[![Latest Unstable Version](https://camo.githubusercontent.com/946f20e03aab0e56aef696c3b993e9ea323a0bb6389025ea27c451617feee669/68747470733a2f2f706f7365722e707567782e6f72672f6a7573746d64352f6c61726176656c2d74656e63656e742d61692f762f756e737461626c652e737667)](https://packagist.org/packages/justmd5/laravel-tencent-ai)[![GitHub stars](https://camo.githubusercontent.com/35bde4fb826c910e989f2aa6bafa7fbc9e42f639ff6892b45e39d0a468923240/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f6a7573746d64352f6c61726176656c2d74656e63656e742d61692e7376673f7374796c653d736f6369616c266c6162656c3d5374617273)](https://packagist.org/packages/justmd5/laravel-tencent-ai)[![License](https://camo.githubusercontent.com/9b2bc47dd03002cf3f6da10c7357bc9eeedec9b7941d2ca1647f7feb1411b6ef/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6a7573746d64352f6c61726176656c2d74656e63656e742d61692e737667)](https://packagist.org/packages/justmd5/laravel-tencent-ai)[![](https://camo.githubusercontent.com/b5cf58ad0df84f357ade7b3cf22c7b71d9b1bbdd37b9247ec837ee4ded87bc23/68747470733a2f2f6170702e666f7373612e696f2f6170692f70726f6a656374732f6769742532426769746875622e636f6d2532466a7573746d64352532466c61726176656c2d74656e63656e742d61692e7376673f747970653d736869656c64)](https://app.fossa.io/projects/git%2Bgithub.com%2Fjustmd5%2Flaravel-tencent-ai?ref=badge_shield)

Requirement
-----------

[](#requirement)

1. PHP &gt;= 7.0
2. **[Composer](https://getcomposer.org/)**
3. ext-curl 拓展
4. ext-json 拓展

Install
-------

[](#install)

in your laravel application, execute the following command:

`composer require justmd5/laravel-tencent-ai`

Configure
---------

[](#configure)

add service provider to the app.php:

```
'providers' => [
    // Application Service Providers...
    Justmd5\LaravelTencentAi\ServiceProvider::class,
],

```

> if you use laravel that &gt;= 5.5 ,the above steps are not required.

publish config:

```
php artisan vendor:publish --provider="Justmd5\LaravelTencentAi\ServiceProvider"
```

after that, you might want to change some config about tencentai:

```
// config/tencentai.php
return [
    'appKey'    => '',
    'appSecret' => '',
    'debug'     => 0,
];
```

Usage
-----

[](#usage)

```
    $params = [
            'question'=>'腾讯人工智能',
            'session'=>123,
    ];

    dd(app('tencent-ai')->nlp->request('textchat', $params));
```

Documentation
-------------

[](#documentation)

[Tencent AI](https://ai.qq.com) · [Official Documents](https://ai.qq.com/doc/index.shtml)

### Help

[](#help)

qq群

[![](https://camo.githubusercontent.com/b1f2ca6747507f62eeea098b1166cc22ff13aa0151f08ce31fb3a6a36037e6e3/68747470733a2f2f7773312e73696e61696d672e636e2f6d773639302f626331646663366167793166736d67337a616b36636a32306630306b6b3765692e6a7067)](https://camo.githubusercontent.com/b1f2ca6747507f62eeea098b1166cc22ff13aa0151f08ce31fb3a6a36037e6e3/68747470733a2f2f7773312e73696e61696d672e636e2f6d773639302f626331646663366167793166736d67337a616b36636a32306630306b6b3765692e6a7067)

### Thanks

[](#thanks)

- thanks to [hanson/foundation-sdk](https://github.com/Hanson/foundation-sdk)

License
-------

[](#license)

MIT

[![FOSSA Status](https://camo.githubusercontent.com/78deb197f2c4ca27ce40b6d32f574539ec4d62e355ab9a0166b6326dc9f3e461/68747470733a2f2f6170702e666f7373612e696f2f6170692f70726f6a656374732f6769742532426769746875622e636f6d2532466a7573746d64352532466c61726176656c2d74656e63656e742d61692e7376673f747970653d6c61726765)](https://app.fossa.io/projects/git%2Bgithub.com%2Fjustmd5%2Flaravel-tencent-ai?ref=badge_large)

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

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

Every ~211 days

Total

2

Last Release

2398d ago

### Community

Maintainers

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

---

Top Contributors

[![justmd5](https://avatars.githubusercontent.com/u/4120960?v=4)](https://github.com/justmd5 "justmd5 (2 commits)")[![fossabot](https://avatars.githubusercontent.com/u/29791463?v=4)](https://github.com/fossabot "fossabot (1 commits)")

---

Tags

ai-apiai-sdklaravellaravel-tencent-aitencent-aitencent-ai-sdksdkAI SDKtencenttencent-ailaravel tencent-ai

### Embed Badge

![Health badge](/badges/justmd5-laravel-tencent-ai/health.svg)

```
[![Health](https://phpackages.com/badges/justmd5-laravel-tencent-ai/health.svg)](https://phpackages.com/packages/justmd5-laravel-tencent-ai)
```

###  Alternatives

[aws/aws-crt-php

AWS Common Runtime for PHP

416300.1M4](/packages/aws-aws-crt-php)[zumba/amplitude-php

PHP SDK for Amplitude

409.5M5](/packages/zumba-amplitude-php)[ennnnny/tbk

简约优雅的淘宝客SDK

29016.1k1](/packages/ennnnny-tbk)

PHPackages © 2026

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