PHP code example of netgsm / m2m

1. Go to this page and download the library: Download netgsm/m2m 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 / m2m example snippets


        use Netgsm\M2m\m2m;
        $islem=new m2m;
        $data=array(
              'tokendegeri'=>'XX',
              'imei' => 'XX',
              'iccid' => 'XX',
              'msisdn'=>'XX',
              'startDate'=>'01.01.2022',
              'endDate'=>'30.12.2022',
              'page'=>1
        );
        $sonuc=$islem->tarihbazlidata($data);
        dd($sonuc);
        die;