-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathtest.php
35 lines (28 loc) · 860 Bytes
/
test.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?php
include 'vendor/autoload.php';
/**
* Example request for Mutlucell.
*/
$mutluCell = new yedincisenol\Sms\Sms('Mutlucell', [
'username' => 'test',
'password' => 'test',
]);
$mutluCell->send('Selam', ['05300000000'], 'yengec');
/**
* Example client for send sms with Eflatun Sms provider.
*/
$smsProvider = new yedincisenol\Sms\Sms('EflatunSms', [
'username' => 'eflatun_sms_username',
'password' => 'eflatun_sms_password',
]);
//echo $smsProvider->send('Selam', [5557777777], 'YENICO');
/**
* Example request for Iletimerkezi.
*/
$iletimerkezi = new yedincisenol\Sms\Sms('Iletimerkezi', []);
//$iletimerkezi->send('Selam', ['05459196661'], 'HEADER');
$verimor = new \yedincisenol\Sms\Sms('Verimor', [
'username' => 'username',
'password' => 'password',
]);
//$verimor->send('Selam', ['00905459196661'], 'HEADER');