This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
try { | |
// This should be gitignored. Define your API credentials in it. Get the credentials from AWS IAM. Should have full Polly permissions. | |
require_once 'vendor/aws.config.php'; | |
// The official AWS SDK for PHP, version 3. See https://docs.aws.amazon.com/aws-sdk-php/v3/guide/getting-started/installation.html | |
require_once "vendor/aws.phar"; |