Skip to content

matt2210/FreeMobileSms

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Free Mobile SMS

A small library to send a text message to your Free mobile number.

Installation

Download the FreeMobileSMS.php file and include it in your projet.

require_once 'FreeMobileSMS.php';

Configuration

To enable the API on your Free Mobile phone number, log in to your Free Mobile account, then "Gérer mon compte" -> "Notification par SMS".

Save the key given to you as it will be required when using the API.

In the FreeMobileSMS.php file, edit the $userId to set it to you Free Mobile user ID (visible on your bills) and $password to the key given to you when you activated the SMS Notification option.

Usage

$freeMobile = new FreeMobileSms(YOUR_USER_ID, YOUR_API_KEY);
echo $freeMobile->sendMessage('Hello world');

About

Send a sms to your Free mobile phone in PHP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%