Skip to content

MarkLester10/Semaphore-API-Laravel-Wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SEMAPHORE SMS API

A Laravel wrapper for SEMAPHORE SMS API

Installation

Require package

  composer require marklestermorta/semaphoreapi-laravel

Publish Configuration file

  php artisan vendor:publish --provider="MarkLesterMorta\Semaphore\SemaphoreApiServiceProvider"

Add ENV variables

  SEMAPHORE_API_KEY=
  SEMAPHORE_SENDER_NAME=

Usage/Examples

Send SMS

  return SemaphoreApi::send('09*********', "Your Message");

After each HTTP POST request, you will receive a JSON response containing the following parameters for each message:

SEMAPHORE API Documentation

About

Semaphore API Laravel Wrapper

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages