dev-master
9999999-deviTexMo API for Laravel.
MIT
The Requires
v0.3
0.3.0.0iTexMo API for Laravel.
MIT
The Requires
v0.1
0.1.0.0iTexMo API for Laravel.
MIT
The Requires
Wallogit.com
2017 © Pedro Peláez
iTexMo API for Laravel.
iTexMo API for Laravel., (*1)
, (*2)
Install using Composer, (*3)
$ composer require woenel/itexmo "^0.3"
Publish the config file named itexmo.php and set the iTexMo API code., (*4)
$ php artisan vendor:publish --provider="Woenel\Itexmo\ItexmoServiceProvider"
These are the three methods you can use to send a message:, (*5)
use Itexmo;
$res = Itexmo::to('09123456789')->message('Hello World!')->send();
if($res == '0') {
// Success message or logic. Refer to the return codes below.
}
use Woenel\Itexmo;
$itexmo = new Itexmo;
$res = $itexmo->to('09123456789')->message('Hello World!')->send();
if($res == '0') {
// Success message or logic. Refer to the return codes below.
}
use Woenel\Itexmo;
$itexmo = new Itexmo;
$itexmo->to = '09123456789';
$itexmo->message = 'Hello World!';
$itexmo->send();
if($itexmo->result == '0') {
// Success message or logic. Refer to the return codes below.
}
You can choose any of them. Either way should work., (*6)
iTexMo API for Laravel.
MIT
iTexMo API for Laravel.
MIT
iTexMo API for Laravel.
MIT