Skip to content

Latest commit

 

History

History
49 lines (38 loc) · 871 Bytes

README.md

File metadata and controls

49 lines (38 loc) · 871 Bytes

SMSAPIBundle

Usage Example

$SMSAPIHandler = $this->get('smsapi')->login();

Configuration config.yml example

#SMSAPI
my_krzysiu_smsapi:
    login: "mail@example.pl"
    password: "password"
    second_channel: false

Installation

Install via Composer

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"

    }
}

Register the bundle

To start using the bundle, register it in app/AppKernel.php:

public function registerBundles()
{
    $bundles = array(
        // Other bundles...
        new MyKrzysiu\SMSAPIBundle\MyKrzysiuSMSAPIBundle(),
    );
}