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

[htmlburger/carbon-fields

WordPress developer-friendly custom fields for post types, taxonomy terms, users, comments, widgets, options and more.

1.5k665.2k57](/packages/htmlburger-carbon-fields)[tightenco/tlint

Tighten linter for Laravel conventions

5271.2M34](/packages/tightenco-tlint)[dflydev/placeholder-resolver

Given a data source representing key =&gt; value pairs, resolve placeholders like ${foo.bar} to the value associated with the 'foo.bar' key in the data source.

14414.6M3](/packages/dflydev-placeholder-resolver)[pear/pear

This is the definitive source of PEAR's core files.

1161.7M20](/packages/pear-pear)[pragmarx/ia-collection

Laravel Illuminate Agnostic Collection

473.4M2](/packages/pragmarx-ia-collection)[binarycabin/laravel-uuid

A wrapper for webpatser/laravel-uuid with additional integration

86589.4k](/packages/binarycabin-laravel-uuid)

PHPackages © 2026

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