Skip to content

Simple PHP page to communicate with Free Mobile API

Notifications You must be signed in to change notification settings

vdeville/free-mobile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple library to call Free API SMS

How to use ?

<?php

require_once 'class/freemobile.class.php';`

// Set login (Your Free ID)
$sms->setLogin(119199199);

// Set your acces key (Find it in your account on mobile.free.fr)
$sms->setApikey('YOUR API KEY');

// Set body text message for your SMS
$sms->setBody('Hello world!');

// Send SMS and Get the status code
echo "Status code: " . $sms->sendSMS();

Valentin DEVILLE

Releases

No releases published

Packages

No packages published

Languages