jplarar/zero-bounce-bundle
Composer 安装命令:
composer require jplarar/zero-bounce-bundle
包简介
A simple Symfony 3 bundle for the API for ZeroBounce.
README 文档
README
Symfony 3 Zero Bounde Bundle
Setup
Step 1: Download JplararZeroBounceBundle using composer
Add S3 Bundle in your composer.json:
{ "require": { "jplarar/zero-bounce-bundle": "1.0.0" } }
Now tell composer to download the bundle by running the command:
$ php composer.phar update "jplarar/zero-bounce-bundle"
Step 2: Enable the bundle
Enable the bundle in the kernel:
<?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new Jplarar\ZeroBounceBundle\JplararZeroBounceBundle() ); }
Step 3: Add configuration
# app/config/config.yml jplarar_zero_bounce: zero_bounce_api_key: %zero_bounce_api_key%
Usage
Using service
<?php $zeroBounceClient = $this->get('zero_bounce_client'); ?>
##Example
###Validate Email
<?php $emialIsValid = $zeroBounceClient->validateEmail($email); ?>
统计信息
- 总下载量: 54
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-04-24