PHPackages                             yuunie/googletts - 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. yuunie/googletts

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

yuunie/googletts
================

Get Google TTS URL

v1.0(7y ago)118nonePHPPHP &gt;=5.4

Since Dec 26Pushed 4y agoCompare

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

READMEChangelog (1)DependenciesVersions (2)Used By (0)

GoogleTTS 获取 Google 翻译 TTS 链接 （文字转语音）
=====================================

[](#googletts-获取-google-翻译-tts-链接-文字转语音)

一个基于 GoogleTTS 的文字转语音 PHP 类

开始
--

[](#开始)

已经提交到Packagist，你可以使用Composer安装

```
composer require yuunie/googletts

```

基本信息
----

[](#基本信息)

- 命名空间 namespace

```
Yuunie

```

- 类名 class

```
GoogleTTS

```

- 方法 function

```
static getUrl("需要TTS的文字", [播放速度0-1], [播放语言,默认中文])

```

使用
--

[](#使用)

```
Yuunie/GoogleTTS::getUrl("你好")

```

细节
--

[](#细节)

获取到url后尽量先保存为mp3文件,直接使用url可能会出现一些问题

> 获取tk的方法来自百度(吾爱破解)

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity55

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

Unknown

Total

1

Last Release

2693d ago

### Community

Maintainers

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

---

Top Contributors

[![yuunie](https://avatars.githubusercontent.com/u/24274196?v=4)](https://github.com/yuunie "yuunie (13 commits)")

### Embed Badge

![Health badge](/badges/yuunie-googletts/health.svg)

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

###  Alternatives

[codenco-dev/nova-grid-system

A Laravel Nova tool to have a grid system

80300.1k](/packages/codenco-dev-nova-grid-system)[mageplaza/module-share-cart

Magento 2 Share Cart extension

12182.8k2](/packages/mageplaza-module-share-cart)

PHPackages © 2026

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