$SMSAPIHandler = $this->get('smsapi')->login();#SMSAPI
my_krzysiu_smsapi:
login: "mail@example.pl"
password: "password"
second_channel: false
Add the following lines to your composer.json file and then run php composer.phar install or php composer.phar update:
{
"require": {
"mykrzysiu/sms-api-bundle": "dev-master"
}
}To start using the bundle, register it in app/AppKernel.php:
public function registerBundles()
{
$bundles = array(
// Other bundles...
new MyKrzysiu\SMSAPIBundle\MyKrzysiuSMSAPIBundle(),
);
}