dev-master
9999999-devsymfony BBITAirGramBundle
MIT
The Requires
- php >=5.3.2
The Development Requires
by Janssens Sam
1.0
1.0.0.0symfony BBITAirGramBundle
MIT
The Requires
- php >=5.3.2
The Development Requires
by Janssens Sam
Wallogit.com
2017 © Pedro Peláez
symfony BBITAirGramBundle
{
"require": {
"bbit/airgram-bundle": "dev-master",
}
}
Now tell composer to download the bundle by running the command:, (*2)
``` bash $ php composer.phar update bbit/airgram-bundle, (*3)
Composer will install the bundle to your project's `vendor/BBIT` directory. ### Step 2: Enable the bundle Enable the bundle in the kernel: ``` php <?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new BBIT\AirGramBundle\BranchBitAirGramBundle(), ); }
branch_bit_air_gram:
apis:
default:
key: airgramkey
secret: airgramsecret
php
$send = $this->get('bbit_airgam')->subscribe('email@example.com');
$send = $this->get('bbit_airgam')->send('email@example.com', 'message');, (*4)
symfony BBITAirGramBundle
MIT
symfony BBITAirGramBundle
MIT