Skip to content

coralsio/sms

Repository files navigation

Corals SMS

  • SMS module can be installed using the standard Larship Module instruction settings

  • Currently, the SMS module supports 2 providers Nexmo and Twilio, once you select the provider from sender management you will promote to enter configuration settings for your provider which can be obtained using the following URLs below:

Twilio: https://www.twilio.com/docs/iam/keys/api-key-resource

Nexmo: https://developer.nexmo.com/concepts/guides/authentication

 

Webhooks: webhooks are useful to get the status of the SMS once sent to the gateway, like confirming it got received by the end-user. also when the user replies to the SMS you can receive a copy of that SMS and log in to the system, there are two types of callbacks here:

  1. SMS status: the URL should be https://your-domain.com/utilities/webhooks/sms_delivery

  2. Receive SMS messages: the URL should be https://your-domain.com/utilities/webhooks/sms_receive

 

to add these webhooks to your SMS provider, you need to add the URLs below to the provider dashboard, below is the documentation on how to set it up:

Twilio: https://www.twilio.com/docs/usage/webhooks

Nexmo: https://developer.nexmo.com/concepts/guides/webhooks

 

Installation

You can install the package via composer:

composer require corals/sms

Questions & Answers

If you faced any issue you can check our questions center, and you can post your question from the following link Questions & Answers

Testing

vendor/bin/phpunit vendor/corals/sms/tests 

Hire Us

Looking for a professional team to build your success and start driving your business forward. Laraship team ready to start with you Hire Us