bbit/airgram-bundle
最新稳定版本:1.0
Composer 安装命令:
composer require bbit/airgram-bundle
包简介
symfony BBITAirGramBundle
README 文档
README
Step 1: Download BBITAirGramBundle using composer
{ "require": { "bbit/airgram-bundle": "dev-master", } }
Now tell composer to download the bundle by running the command:
$ php composer.phar update bbit/airgram-bundle
Composer will install the bundle to your project's vendor/BBIT directory.
Step 2: Enable the bundle
Enable the bundle in the kernel:
<?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new BBIT\AirGramBundle\BranchBitAirGramBundle(), ); }
Step 3: Config
branch_bit_air_gram:
apis:
default:
key: airgramkey
secret: airgramsecret
Usage:
$send = $this->get('bbit_airgam')->subscribe('email@example.com'); $send = $this->get('bbit_airgam')->send('email@example.com', 'message');
统计信息
- 总下载量: 20
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-02-09