PHP code example of iamirnet / ippanel

1. Go to this page and download the library: Download iamirnet/ippanel 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/ */

    

iamirnet / ippanel example snippets



// config by specifying api key and secret
$api = new \iAmirNet\IPPanel\Rest("apikey");

//Call this before running any functions
print_r($api->send(/*Receive Number*/"989xxxxxxxxxx",/*Text Message*/ "متن پیامک", /*Sender Number*/"989999xxxx",));

sudo apt-get install curl php-curl
curl -s http://getcomposer.org/installer | php
php composer.phar install

php composer.phar