dev-master
9999999-devSymfony SMSVestiBundle
MIT
The Requires
by Dmitry Poddubny
smsvesti
Symfony SMSVestiBundle
SMSVesti, (*1)
This version of the bundle requires Symfony 2.1+ and Doctrine ORM 2.2+, (*2)
Installation is a quick 3 step process:, (*3)
Add KarserSMSVestiBundle in your composer.json:, (*4)
{ "require": { "karser/smsvesti-bundle": "dev-master" } }
Now tell composer to download the bundle by running the command:, (*5)
``` bash $ php ./composer.phar update, (*6)
Composer will install the bundle to your project's `vendor/karser` directory. ### Step 2: Enable the bundle Enable the bundle in the kernel: ``` php <?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new Karser\SMSVestiBundle\KarserSMSVestiBundle(), ); }
Add the following configuration to your config.yml
file according to which type
of datastore you are using., (*7)
``` yaml, (*8)
karser_sms_vesti: login: "%sms_vesti_login%" password: "%sms_vesti_password%", (*9)
``` yaml # app/config/parameters.yml parameters: sms_vesti_login: ~ sms_vesti_password: ~
You can check the balance by cli command:, (*10)
$ app/console smsvesti:balance > Balance is 6.45
Symfony SMSVestiBundle
MIT
smsvesti