PHPackages                             tetsuwo/voicetext-api - 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. tetsuwo/voicetext-api

ActiveLibrary[API Development](/categories/api)

tetsuwo/voicetext-api
=====================

for VoiceText Web API

31671PHP

Since Jul 28Pushed 11y ago1 watchersCompare

[ Source](https://github.com/tetsuwo/php-voicetext-api)[ Packagist](https://packagist.org/packages/tetsuwo/voicetext-api)[ RSS](/packages/tetsuwo-voicetext-api/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

VoiceTextAPI
============

[](#voicetextapi)

[![Build Status](https://camo.githubusercontent.com/78d3ac7f6622b9d8fc67a7041a97e727b6e8ff84cae4e7db10a9d0a6d27aaae8/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f7465747375776f2f7068702d766f696365746578742d6170692e706e67)](http://travis-ci.org/tetsuwo/php-voicetext-api)[![Latest Stable Version](https://camo.githubusercontent.com/3b68b8a8d8ef03ee8c9c5d57d0a8acc6d3da4c4ba315297b28667fd1fc247e0b/68747470733a2f2f706f7365722e707567782e6f72672f7465747375776f2f766f696365746578742d6170692f762f737461626c652e737667)](https://packagist.org/packages/tetsuwo/voicetext-api)[![Total Downloads](https://camo.githubusercontent.com/62bf3f23a4354934057582fbe62cf4c3c5f4b779870c89f2781060c27d1ba65d/68747470733a2f2f706f7365722e707567782e6f72672f7465747375776f2f766f696365746578742d6170692f646f776e6c6f6164732e737667)](https://packagist.org/packages/tetsuwo/voicetext-api)[![Latest Unstable Version](https://camo.githubusercontent.com/dca38b0942c7d0efaaaaee687ab733a39b65bddc27d3b5e7550cb6cfee1f79d3/68747470733a2f2f706f7365722e707567782e6f72672f7465747375776f2f766f696365746578742d6170692f762f756e737461626c652e737667)](https://packagist.org/packages/tetsuwo/voicetext-api)[![License](https://camo.githubusercontent.com/b0c12b891c220e6d9c34cc571a67651a85d952753ff77709a718590bd06f5c8c/68747470733a2f2f706f7365722e707567782e6f72672f7465747375776f2f766f696365746578742d6170692f6c6963656e73652e737667)](https://packagist.org/packages/tetsuwo/voicetext-api)

The unofficial PHP client for the [VoiceText Web API](https://cloud.voicetext.jp/webapi).

Demonstration
-------------

[](#demonstration)

- [API Explorer](http://voice-text-api-explorer.herokuapp.com/)

Installation
------------

[](#installation)

Install [Composer](https://getcomposer.org/).

Add below in `require` property on `composer.json`.

```
{
    "require": {
        "tetsuwo/voicetext-api": "dev-master"
    }
}

```

Execute below command.

```
$ php composer.phar install

```

Usage
-----

[](#usage)

At first, set up client.

```
$client = new Tetsuwo\VoiceText\API\Client('{API_KEY}', '{API_PASSWORD}');

```

### Method of Speech synthesis (Text-to-speech)

[](#method-of-speech-synthesis-text-to-speech)

Execute PHP code below to get the Speech synthesis data of specified text.
And there are binary data of **WAV** format in `$response`.

```
$response = $client->getTts(array(
    'text'    => 'こんばんは、モヤモヤさ◯ぁ～ずです。',
    'speaker' => show'
));

```

Returns the data string for WAV format.

```
echo 'data:audio/wav;base64,', base64_encode($response);

```

Execute the JavaScript code below to play.

```
var audio = new Audio('data:audio/wav;base64,~~~~~~~~~~~');
audio.play();

```

See [official website](https://cloud.voicetext.jp/webapi) more details.

LICENSE
-------

[](#license)

This software is released under the MIT License, see LICENSE.

SEE ALSO
--------

[](#see-also)

- [Packagist](https://packagist.org/packages/tetsuwo/voicetext-api)

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community8

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/47429?v=4)[Tetsuwo OISHI](/maintainers/tetsuwo)[@tetsuwo](https://github.com/tetsuwo)

---

Top Contributors

[![tetsuwo](https://avatars.githubusercontent.com/u/47429?v=4)](https://github.com/tetsuwo "tetsuwo (25 commits)")

### Embed Badge

![Health badge](/badges/tetsuwo-voicetext-api/health.svg)

```
[![Health](https://phpackages.com/badges/tetsuwo-voicetext-api/health.svg)](https://phpackages.com/packages/tetsuwo-voicetext-api)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M478](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M271](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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