Skip to content

Latest commit

 

History

History

examples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Examples

Runnable examples for the ResponsiveVoice PHP SDK.

Example What it shows
basic/ Standalone PHP — list voices, synthesize audio, handle errors
laravel/ Laravel integration — config, service provider, artisan command

Both need an API key and secret from your website's settings in the ResponsiveVoice dashboard (sign up). The API key is in the "Your site code" snippet; the API secret is under "Server-to-server API secrets" and is shown only once when generated.

export RESPONSIVEVOICE_API_KEY=your_key
export RESPONSIVEVOICE_API_SECRET=your_secret