karser / smsvesti-bundle
Symfony SMSVestiBundle
Installs: 22
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=5.3.2
- guzzle/guzzle: *
- karser/sms-bundle: dev-master
- symfony/framework-bundle: >=2.1,<3.0
This package is auto-updated.
Last update: 2024-10-20 07:17:05 UTC
README
Prerequisites
This version of the bundle requires Symfony 2.1+ and Doctrine ORM 2.2+
Installation
Installation is a quick 3 step process:
- Download KarserSMSVestiBundle using composer
- Enable the Bundle
- Configure the KarserSMSVestiBundle
Step 1: Download KarserSMSVestiBundle using composer
Add KarserSMSVestiBundle in your composer.json:
{ "require": { "karser/smsvesti-bundle": "dev-master" } }
Now tell composer to download the bundle by running the command:
$ php ./composer.phar update
Composer will install the bundle to your project's vendor/karser
directory.
Step 2: Enable the bundle
Enable the bundle in the kernel:
<?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new Karser\SMSVestiBundle\KarserSMSVestiBundle(), ); }
Step 3: Configure the KarserSMSVestiBundle
Add the following configuration to your config.yml
file according to which type
of datastore you are using.
# app/config/config.yml karser_sms_vesti: login: "%sms_vesti_login%" password: "%sms_vesti_password%"
# app/config/parameters.yml parameters: sms_vesti_login: ~ sms_vesti_password: ~
Usage Steps
Basic usage
You can check the balance by cli command:
$ app/console smsvesti:balance
> Balance is 6.45