Commit fc2a9981 authored by Korko's avatar Korko
Browse files

Change Twilio to Callr

parent a8028131
This diff is collapsed.
......@@ -180,9 +180,8 @@ return [
/*
* Vendors Service Providers...
*/
Aloha\Twilio\Support\Laravel\ServiceProvider::class,
CrazyInventor\Lacaptcha\LacaptchaServiceProvider::class,
Korko\CallR\CallRServiceProvider::class,
Korko\Validator\ValidatorServiceProvider::class,
League\StatsD\Laravel5\Provider\StatsdServiceProvider::class,
Mariuzzo\LaravelJsLocalization\LaravelJsLocalizationServiceProvider::class,
......@@ -232,7 +231,7 @@ return [
'Route' => Illuminate\Support\Facades\Route::class,
'Schema' => Illuminate\Support\Facades\Schema::class,
'Session' => Illuminate\Support\Facades\Session::class,
'Sms' => Aloha\Twilio\Support\Laravel\Facade::class,
'Sms' => Facades\Korko\CallR\CallRClient::class,
'Statsd' => League\StatsD\Laravel5\Facade\StatsdFacade::class,
'Storage' => Illuminate\Support\Facades\Storage::class,
'URL' => Illuminate\Support\Facades\URL::class,
......
<?php
return [
'username' => env('CALLR_USERNAME', 'username'),
'password' => env('CALLR_PASSWORD', 'password'),
'alias' => env('CALLR_ALIAS', ''),
'sender' => env('CALLR_SENDER', ''),
];
<?php
return [
'twilio' => [
'default' => 'twilio',
'connections' => [
'twilio' => [
/*
|--------------------------------------------------------------------------
| SID
|--------------------------------------------------------------------------
|
| Your Twilio Account SID #
|
*/
'sid' => getenv('TWILIO_SID') ?: '',
/*
|--------------------------------------------------------------------------
| Access Token
|--------------------------------------------------------------------------
|
| Access token that can be found in your Twilio dashboard
|
*/
'token' => getenv('TWILIO_TOKEN') ?: '',
/*
|--------------------------------------------------------------------------
| From Number
|--------------------------------------------------------------------------
|
| The Phone number registered with Twilio that your SMS & Calls will come from
|
*/
'from' => getenv('TWILIO_FROM') ?: '',
/*
|--------------------------------------------------------------------------
| Verify Twilio's SSL Certificates
|--------------------------------------------------------------------------
|
| Allows the client to bypass verifying Twilio's SSL certificates.
| It is STRONGLY advised to leave this set to true for production environments.
|
*/
'ssl_verify' => true,
],
],
],
];
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment