1. Go to this page and download the library: Download ahmadrezaei/mobinone 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/ */
$phoneNumber = ''; // user phone number like $_SESSION['phone']
$mobin = new \ahmadrezaei\mobinone\MobinOne($username, $password, $shortCode, $serviceKey, $phoneNumber);
$mobin->sendSMS(); // send SMS to user
$mobin->inAppCharge(); // send register request
$mobin->inAppChargeConfirm(); // confirm register request by code
$mobin->randomString() // create rando string
sample.php // for register user
notificaion.php // for handle service notifications
mp.php // for handle MO messages
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.