PHP code example of imsamurai / cakephp-sms-fly-datasource

1. Go to this page and download the library: Download imsamurai/cakephp-sms-fly-datasource 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/ */

    

imsamurai / cakephp-sms-fly-datasource example snippets


public $smsFly = array(
  'datasource' => 'SMSFlySource.Http/SMSFlySource',
        'host' => 'sms-fly.com/api/api.php',
        'port' => 80
);

CakePlugin::load('HttpSource', array('bootstrap' => true, 'routes' => false));
CakePlugin::load('SMSFlySource');


:: database.php ::

:: bootstrap.php ::