jplarar / zero-bounce-bundle
A simple Symfony 3 bundle for the API for ZeroBounce.
Installs: 50
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=7.1
- symfony/config: ^3.0 || ^4.0
- symfony/dependency-injection: ^3.0 || ^4.0
- symfony/framework-bundle: ^3.0 || ^4.0
- symfony/http-foundation: ^3.0 || ^4.0
- symfony/http-kernel: ^3.0 || ^4.0
- symfony/options-resolver: ^3.0 || ^4.0
- symfony/validator: ^3.0 || ^4.0
This package is auto-updated.
Last update: 2025-03-19 02:54:00 UTC
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); ?>