PHPackages                             alexeevdv/yii2-zerobounce-client - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. alexeevdv/yii2-zerobounce-client

ActiveYii2-extension[API Development](/categories/api)

alexeevdv/yii2-zerobounce-client
================================

Yii2 client for zerobounce.net API

1.6.0(6y ago)09.1k↓50%2MITPHPPHP &gt;=7.1

Since May 2Pushed 5y ago1 watchersCompare

[ Source](https://github.com/alexeevdv/yii2-zerobounce-client)[ Packagist](https://packagist.org/packages/alexeevdv/yii2-zerobounce-client)[ RSS](/packages/alexeevdv-yii2-zerobounce-client/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (10)Used By (0)

yii2-zerobounce-client
======================

[](#yii2-zerobounce-client)

[![Build Status](https://camo.githubusercontent.com/d45d99f67ea7419f96efeeab80c05cc79a3914cce907f1bd148680b7388ab315/68747470733a2f2f7472617669732d63692e636f6d2f616c657865657664762f796969322d7a65726f626f756e63652d636c69656e742e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/alexeevdv/yii2-zerobounce-client)[![codecov](https://camo.githubusercontent.com/396a53b72c4e3c017606b4347bf2be0162c6b766eb189423314cd22e8b210411/68747470733a2f2f636f6465636f762e696f2f67682f616c657865657664762f796969322d7a65726f626f756e63652d636c69656e742f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/alexeevdv/yii2-zerobounce-client)[![PHP 7.1](https://camo.githubusercontent.com/89830e985e0a7f5f1ed58d412d81ee5bdccafb5dd5861eb9a6e63e44dde568b6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d372e312d677265656e2e737667)](https://camo.githubusercontent.com/89830e985e0a7f5f1ed58d412d81ee5bdccafb5dd5861eb9a6e63e44dde568b6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d372e312d677265656e2e737667)[![PHP 7.2](https://camo.githubusercontent.com/047bbe011ab372b4d00fc7ab0ed6f0d2a3db1ffda3a25de65f318dac100328ba/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d372e322d677265656e2e737667)](https://camo.githubusercontent.com/047bbe011ab372b4d00fc7ab0ed6f0d2a3db1ffda3a25de65f318dac100328ba/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d372e322d677265656e2e737667)[![PHP 7.3](https://camo.githubusercontent.com/ebdf47db6e91607cc8e1a8ea16f4a35122a068c1e3a23b9eb6c9932d602d28ff/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d372e332d677265656e2e737667)](https://camo.githubusercontent.com/ebdf47db6e91607cc8e1a8ea16f4a35122a068c1e3a23b9eb6c9932d602d28ff/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d372e332d677265656e2e737667)

Yii client for  API

API docs are available at

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](https://getcomposer.org/download/).

Either run

```
$ composer require alexeevdv/yii2-zerobounce-client "^1.0"
```

or add

```
"alexeevdv/yii2-zerobounce-client": "^1.0"

```

to the `require` section of your `composer.json` file.

Configuration
-------------

[](#configuration)

```
'container' => [
    'singletons' => [
        alexeevdv\yii\zerobounce\ClientInterface::class => [
            'class' => alexeevdv\yii\zerobounce\Client::class,
            'apiKey' => 'a95c530a7af5f492a74499e70578d150',
        ],
    ],
],
```

Usage
-----

[](#usage)

### Validate email

[](#validate-email)

```
$client = yii\di\Instance::ensure(alexeevdv\yii\zerobounce\ClientInterface::class);
$result = $client->validate('valid@example.com');
if ($result->isValid()) {
    // do your stuff
}
```

### Get credits

[](#get-credits)

```
$client = yii\di\Instance::ensure(alexeevdv\yii\zerobounce\ClientInterface::class);
$credits = $client->getCredits();
```

### Send file

[](#send-file)

```
$client = yii\di\Instance::ensure(alexeevdv\yii\zerobounce\BulkClientInterface::class);
$result = $client->sendFile('file.csv', 'http://site.com/your-postback-link/');
```

### Read file

[](#read-file)

```
$client = yii\di\Instance::ensure(alexeevdv\yii\zerobounce\BulkClientInterface::class);
//File uuid received from sendFile response
$result = $client->readFile($uuid);
```

### Delete file

[](#delete-file)

```
$client = yii\di\Instance::ensure(alexeevdv\yii\zerobounce\BulkClientInterface::class);
//File uuid received from sendFile response
$result = $client->deleteFile($uuid);
```

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~15 days

Recently: every ~26 days

Total

8

Last Release

2463d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e6f71682c6a273973ad9c29d60ddac6d3cc55db7e55ec4f5638115f4c22409f6?d=identicon)[alexeevdv](/maintainers/alexeevdv)

---

Top Contributors

[![alexeevdv](https://avatars.githubusercontent.com/u/597839?v=4)](https://github.com/alexeevdv "alexeevdv (18 commits)")

---

Tags

yii2zerobounce

###  Code Quality

TestsCodeception

### Embed Badge

![Health badge](/badges/alexeevdv-yii2-zerobounce-client/health.svg)

```
[![Health](https://phpackages.com/badges/alexeevdv-yii2-zerobounce-client/health.svg)](https://phpackages.com/packages/alexeevdv-yii2-zerobounce-client)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
