Project moved to https://github.com/CharlieEtienne/t2s
Download mp3 from Google Text to Speech API
This app provides a simple way to convert Google Text to Speech audio to a mp3 file you can download.
-
Copy files from this repository into your project
-
Run
composer install
-
Follow these steps to configure and activate your api and credentials
-
Copy the content of your credentials file into
credentials.json
Please be aware that with this code your credentials are exposed. If you plan to make this public, you should protect them by renaming, moving the json file and block public access (for example with htaccess methods)