tamkeenlms/mobily-sms-api-json

A non-official API client for Mobily.ws SMS service

1.4 2020-05-02 13:02 UTC

This package is auto-updated.

Last update: 2024-04-19 21:45:45 UTC


README

This is a non-official API client for Mobily.ws SMS service. We created it after struggling with their API. This is another attempt seconding one we already created. This one uses what they call the JSON API at their end!

Usage

Simply create a client:

	$client = new MobilyAPI\Client(username, password, senderName);

Then use the request you want:

	$newMessage = new MobilyAPI\Requests\SendMessage($client, numbers, message);
	$response = $newMessage->send(); // Send the request
	
	$newMessage->sent(); // Tells you if it was sent successfully

It's very simple and straight forward. Good luck.