Laraship

⌘K
  1. Home
  2. Docs
  3. Laraship
  4. Communications Module
  5. SMS Notifications

SMS Notifications

 

Laraship Supports SMS notifications via Nexmo Provider, the setup is pretty simple, please make sure you have Corals User Module 2.2 or higher

 

  1. First, sign up for a Nexmo account if you don’t already have one, and make a note of your API key and secret on the dashboard getting started page.
  2. Add API Details to the .env file
NEXMO_KEY=xxxxxxxx
NEXMO_SECRET=xxxxxxxxxxxxxxx
NEXMO_FROM=1234567897

3. make sure the below code is under config/services.php

'nexmo' => [
    'key' => env('NEXMO_KEY'),
    'secret' => env('NEXMO_SECRET'),
    'sms_from' => env('NEXMO_FROM'),
],

 

That’s it, you can after then enable the SMS flag under the notification template you’re looking  to send SMS