PHPackages                             aisdk/alibaba - 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. aisdk/alibaba

ActiveLibrary

aisdk/alibaba
=============

Alibaba Cloud Model Studio provider for PHP AI SDK

v0.8.0(1mo ago)03MITPHPPHP ^8.3

Since Jul 12Pushed 1mo agoCompare

[ Source](https://github.com/phpaisdk/alibaba)[ Packagist](https://packagist.org/packages/aisdk/alibaba)[ RSS](/packages/aisdk-alibaba/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (3)Dependencies (6)Versions (4)Used By (0)

Alibaba Cloud Model Studio provider
===================================

[](#alibaba-cloud-model-studio-provider)

[![GitHub Workflow Status](https://camo.githubusercontent.com/46f89798d847099cc7dde67fdab39d08a5f5f08fdb94b7631e7edb369d52bbd9/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f706870616973646b2f616c69626162612f74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d5465737473)](https://github.com/phpaisdk/alibaba/actions)[![Total Downloads](https://camo.githubusercontent.com/9d842907ee0eea75fc0e2fd6d39d629c31fd97c208157a8b5f840eaa7d0cb8f5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616973646b2f616c6962616261)](https://packagist.org/packages/aisdk/alibaba)[![Latest Version](https://camo.githubusercontent.com/fe58288006a09c85efc3e54144fcf681a14b3b4e626534eeaa86008c2e346496/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f616973646b2f616c6962616261)](https://packagist.org/packages/aisdk/alibaba)[![License](https://camo.githubusercontent.com/152bba014feaccd5c69bd3e47b94f3106c762e326b61088e7991360c7109e470/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f616973646b2f616c6962616261)](https://packagist.org/packages/aisdk/alibaba)[![Why PHP in 2026](https://camo.githubusercontent.com/d2b9305e630caf7daae4ca023de39ece0b885c37461629d42961533f00868b76/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5768795f5048502d696e5f323032362d3741383645383f7374796c653d666c61742d737175617265266c6162656c436f6c6f723d313831383162)](https://whyphp.dev)

---

Supports Qwen text generation and streaming, tools, structured output, reasoning, multimodal input, Wan image and video generation, Qwen speech synthesis, and text embeddings.

```
$video = Generate::video('A cinematic city at night')
    ->model(Alibaba::model('wan2.7-t2v'))
    ->resolution('1920x1080')
    ->duration(5)
    ->run(timeout: 600);
```

Configure `ALIBABA_API_KEY`, plus region/workspace-specific `baseUrl` and `videoBaseUrl` when required by Model Studio.

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

[](#documentation)

- [PHP AI SDK documentation](https://phpaisdk.com/docs)
- [Alibaba documentation](https://phpaisdk.com/docs/alibaba)

Community
---------

[](#community)

- [Contributing](https://github.com/phpaisdk/.github/blob/main/CONTRIBUTING.md)
- [Support](https://github.com/phpaisdk/.github/blob/main/SUPPORT.md)
- For private security reports, email .

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance90

Actively maintained with recent releases

Popularity3

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity41

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

Every ~1 days

Total

3

Last Release

47d ago

### Community

Maintainers

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

---

Top Contributors

[![RanaMoizHaider](https://avatars.githubusercontent.com/u/58527494?v=4)](https://github.com/RanaMoizHaider "RanaMoizHaider (6 commits)")

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/aisdk-alibaba/health.svg)

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

PHPackages © 2026

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