stefanbraspenning/pushbullet-bundle
Composer 安装命令:
composer require stefanbraspenning/pushbullet-bundle
包简介
This bundle provides integration with the Pushbullet API library, allowing you to interact with the Pushbullet API from within your Symfony projects
README 文档
README
Installation
Step 1) Get the bundle
composer require stefanbraspenning/pushbullet-bundle
Step 2) Register the bundle
To start using the bundle, register it in your Kernel.
<?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new SB\Bundle\PushbulletBundle\SBPushbulletBundle(), // ... ); }
Step 3) Configure the default API token to use (optional)
If you don't have an API token yet, follow this link: https://www.pushbullet.com/account. It takes you to the Pushbullet site which (if you are logged in, then scroll down) lets you generate an API token for your account.
The bundle tries to make sending payloads to Pushbullet a little easier by letting you define the API token to use beforehand.
NOTE: Setting the token beforehand is not required; you can still choose to leave the
configuration empty and pass the API token of your choice when sending a payload: $pb = new Pushbullet\Pushbullet('YOUR_ACCESS_TOKEN');.
Here is an example:
# app/config/config.yml sb_pushbullet: api_token: 1234 # replace with your own (see: https://www.pushbullet.com/account)
Documentation
Detailed documentation on how to access each API method can be found in the documentation of the package that this bundle integrates: Pushbullet API library
统计信息
- 总下载量: 110
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-06-14