Skip to content

Latest commit

 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Messenger is an API Collection for Email and SMS.


What API included?

Currently, we only support SendGrid and Nexmo for basic function of sending messages.


Installation

composer require vvinners/messenger

Setup .env

NEXMO_API_KEY

NEXMO_API_SECRET

SENDGRID_API_KEY

MESSENGER_FROM_EMAIL

MESSENGER_FROM_NAME

Usage

use vvinners\Messenger;

$to = [
    "name" => $user->name,
    "email" => $user->email
];

Messenger::sendMail($to, $subject, $content);


Messenger::sendSMS($phone_number, $content);

About

Collection of Email and SMS API

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages