PHP code example of dpodium / yii2-twilio
1. Go to this page and download the library: Download dpodium/yii2-twilio library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
dpodium / yii2-twilio example snippets
return [
'components' => [
...
'twilio' => [
'class' => dpodium\yii2\Twilio\TwilioManager::class,
'config' => [
'sid' => API_SID, //from twilio
'token' => API_TOKEN, //from twilio
],
//leave blank if not applicable
'proxy' => [
'host' => HOST,
'port' => PORT,
],
],
...
],
...
];
php composer.phar