SMSFly api plugin
Check out SMSFly API Documentation
CakePHP SMSFlySource Plugin with DataSource for SMS Fly service
Plugin/SMSFlySource
cd my_cake_app/app git://github.com/imsamurai/cakephp-sms-fly-datasource.git Plugin/SMSFlySource
or if you use git add as submodule:
cd my_cake_app
git submodule add "git://github.com/imsamurai/cakephp-sms-fly-datasource.git" "app/Plugin/SMSFlySource"
then update submodules:
git submodule init
git submodule update
database.php
and set it to the model:: database.php ::
public $smsFly = array(
'datasource' => 'SMSFlySource.Http/SMSFlySource',
'host' => 'sms-fly.com/api/api.php',
'port' => 80
);
Then make use model SMSFly
:: bootstrap.php ::
CakePlugin::load('HttpSource', array('bootstrap' => true, 'routes' => false));
CakePlugin::load('SMSFlySource');
Please read HttpSource Plugin README