1. Go to this page and download the library: Download netgsm/iys library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
netgsm / iys example snippets
use Netgsm\Iys\iys;
$data=array('type'=>'MESAJ','source'=>'HS_WEB','recipient'=>'+90553xxxxxxx','recipientType'=>'BIREYSEL','status'=>'ONAY','consentDate'=>'2020-11-06 09:40:00');
$islem=new iys;
$sonuc=$islem->iys($data);
dd($sonuc);
die;
use Illuminate\Http\Request;
public function index(Request $request)
{
$data = json_decode($request->getContent(),false);
$data->recipienttype;
$data->retailercode;
}
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.