PHPackages                             mclxly/xfyun-php - 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. [API Development](/categories/api)
4. /
5. mclxly/xfyun-php

ActiveLibrary[API Development](/categories/api)

mclxly/xfyun-php
================

讯飞开放平台语音识别接口之PHP实现

0182PHP

Since Aug 4Pushed 5y ago1 watchersCompare

[ Source](https://github.com/mclxly/xfyun-php)[ Packagist](https://packagist.org/packages/mclxly/xfyun-php)[ RSS](/packages/mclxly-xfyun-php/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

xfyun-php
=========

[](#xfyun-php)

讯飞开放平台语音识别接口之PHP实现

```
composer require mclxly/xfyun-php

```

语音识别模块
======

[](#语音识别模块)

语音转写
----

[](#语音转写)

### Usage

[](#usage)

```
use mclxly\xfyun\XFLongFormAsrClient;

$appid = 'xxx';
$secret_key = 'xxxx';
$upload_file_path = 'en_src.mp3';
$client = new XFLongFormAsrClient($appid, $secret_key, $upload_file_path);
var_dump($client);
$client->set_language('en'); // 'cn' | 'en
$result = $client->all_api_request();
var_dump($result);
```

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity33

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://avatars.githubusercontent.com/u/1973671?v=4)[Colin](/maintainers/mclxly)[@mclxly](https://github.com/mclxly)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/mclxly-xfyun-php/health.svg)

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

94452.6k6](/packages/botman-driver-telegram)

PHPackages © 2026

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