Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
rockblings committed Aug 22, 2023
2 parents e634908 + 04670a6 commit ec11d71
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/LaravelTwillioSms.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ public static function sendSms(string $number, string $message): MessageInstance
$auth_token = config('twillio-sms.auth_token');

$client = new Client($account_sid, $auth_token);

return $client->messages->create($number, [
'from' => config('twillio-sms.sms_from'),
'body' => $message,
Expand Down

0 comments on commit ec11d71

Please sign in to comment.