PHPackages                             cviniciussdias/php-text-to-speech - 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. cviniciussdias/php-text-to-speech

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

cviniciussdias/php-text-to-speech
=================================

A simple PHP tool that uses each OS text-to-speech CLI

v0.1.2(5y ago)371618[1 issues](https://github.com/CViniciusSDias/php-text-to-speech/issues)GPL-3.0-or-laterPHPPHP &gt;=8.0

Since Feb 26Pushed 4y ago2 watchersCompare

[ Source](https://github.com/CViniciusSDias/php-text-to-speech)[ Packagist](https://packagist.org/packages/cviniciussdias/php-text-to-speech)[ RSS](/packages/cviniciussdias-php-text-to-speech/feed)WikiDiscussions main Synced 2d ago

READMEChangelogDependenciesVersions (4)Used By (0)

PHP Text-to-speech
==================

[](#php-text-to-speech)

This library is a simple tool to make your computer speak whatever you want.

The tool uses the CLI tool for Linux and Mac, and COM object SAPI.SpVoice for Windows.

Usage
-----

[](#usage)

To simply make your computer speak, you can directly run:

```
$ php vendor/bin/speak "Text you want it to speak"
```

If you want to use this library in your code, it's as simple as:

```
