intellipush / intellipush-php-sdk-v2
A PHP SDK for Intellipush
dev-master
2020-10-27 21:43 UTC
Requires
- php: >=5.3.0
This package is not auto-updated.
Last update: 2024-04-13 15:12:01 UTC
README
This repository contains the open source PHP SDK that allows you to access Intellipush from your PHP app.
Installation
Usage
Install the lastest version with: composer require 'intellipush/intellipush-php-sdk-v2:dev-master'
If you need help getting started with Composer: click here
$applicationPath = __DIR__ . '/../YOUR APPLICATION PATH';
require_once $applicationPath . 'vendor/autoload.php';
use Intellipush\Intellipush;
$key = 'YOUR KEY';
$secret = 'YOUR SECRET';
$countrycode = '0047';
$phoneNumber = 'xxxxxxxx';
//Send an SMS
$response = Intellipush::auth($key, $secret)->sms('Hello World.', $countrycode, $phoneNumber);
var_dump($response);
Read more on:
Intellipush PHP SDK documentation
Sign up
Enjoy our service!
/Intellipush