dev-master
9999999-dev http://thecallr.com/fr/TheCallR SDK bundle for Symfony2.
MIT
The Requires
- php >=5.2.0
by rc2c
sms call thecallr
TheCallR SDK bundle for Symfony2.
With composer :, (*1)
``` json { "require": { "rc2c/the-callr-bundle": "dev-master" } }, (*2)
### Initialize the bundle To start using the bundle, register the bundle in your application's kernel class: ``` php // app/AppKernel.php public function registerBundles() { $bundles = array( // Thecallr new Rc2c\ThecallrBundle\Rc2cThecallrBundle() // ... ); )
rc2c.the_callr.login: 'your_login' rc2c.the_callr.password: 'your_password' rc2c.the_callr.sender: 'THECALLR'
// Load thecallr service $sms_Manager = $this->container->get('rc2c.the_callr'); // Your phone number (international format) $phone = '+33610111213'; // Your message (text) $message = 'your text message'; try { // Send sms $sms_Manager->send($phone, $message); } catch(Exception $e) { $this->logMessage($e->getCode().'-'.$e->getMessage(), 'err'); }
http://thecallr.com/docs/, (*3)
TheCallR SDK bundle for Symfony2.
MIT
sms call thecallr