PHPackages                             ylly/mailboxlayer - 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. [Mail &amp; Notifications](/categories/mail)
4. /
5. ylly/mailboxlayer

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

ylly/mailboxlayer
=================

PHP Library for mailboxLayer by apiLayer

1.0.1(7y ago)04901MITPHPPHP &gt;=5.4

Since Sep 12Pushed 7y ago3 watchersCompare

[ Source](https://github.com/ylly/mailboxlayer)[ Packagist](https://packagist.org/packages/ylly/mailboxlayer)[ RSS](/packages/ylly-mailboxlayer/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (2)Versions (3)Used By (1)

mailboxLayer PHP library
========================

[](#mailboxlayer-php-library)

This library allows you to easily implement mailboxLayer by apiLayer into your project.

[![Build Status](https://camo.githubusercontent.com/ed9695be7cda328d540fc31ba49c155f9f6b35dee89fa18308d1c17e95a0d17b/68747470733a2f2f7472617669732d63692e6f72672f796c6c792f6d61696c626f786c617965722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/ylly/mailboxlayer)

Require :
---------

[](#require-)

- PHP 5.4+
- PHP JSON

Limitations :
-------------

[](#limitations-)

- catch\_all attribute is of no use with free mailboxLayer account.

see [https://mailboxlayer.com/documentation#catch\_all](https://mailboxlayer.com/documentation#catch_all)

Installation :
--------------

[](#installation-)

```
composer require ylly/mailboxLayer

```

Usage :
-------

[](#usage-)

You need to generate a key on mailboxLayer and add it to the configuration.yml

see

### Configuration file :

[](#configuration-file-)

```
accessKey: generated access key from mailboxLayer
```

### Check an email

[](#check-an-email)

The EmailChecker manage verifications on email addresses

You can set emailChecker with variables

```
$emailChecker = EmailCheckerFactory::create($accessKey, $proxy);
```

You can check set emailChecker from a YAML config file by

```
$emailChecker = EmailCheckerFactory::createFromYamlFile('/path/to/config.yml');
```

Or from an key-value array of configuration

```
$emailChecker = EmailCheckerFactory::createFromArray($configArray);
```

### Fill user's email (and catch\_all)

[](#fill-users-email-and-catch_all)

The users email addresses creates url for verifications

```
$check = $emailChecker->checkEmail($email);
```

or with catch\_all boolean attributes

```
$check = $emailChecker->checkEmail($email, $catchAll);
```

Advanced usage :
----------------

[](#advanced-usage-)

A Log interface is provided to manage outputed logs, you can register your listener on the emailChecker

```
class Listener implement LogListenerInterface
{
    public function recieve($level, $message)
    {
        // do something
    }
}

$emailChecker->addListener(new Listener());
```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 71.4% 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 ~153 days

Total

2

Last Release

2643d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/73162a7f8bb82c57c453c11671608f59e3c87bf7f76724826b369d01a25e87a8?d=identicon)[ylly](/maintainers/ylly)

---

Top Contributors

[![corentinHuibant](https://avatars.githubusercontent.com/u/43136879?v=4)](https://github.com/corentinHuibant "corentinHuibant (5 commits)")[![mickaelblondeau](https://avatars.githubusercontent.com/u/3583898?v=4)](https://github.com/mickaelblondeau "mickaelblondeau (2 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ylly-mailboxlayer/health.svg)

```
[![Health](https://phpackages.com/badges/ylly-mailboxlayer/health.svg)](https://phpackages.com/packages/ylly-mailboxlayer)
```

###  Alternatives

[jason-munro/cypht

Lightweight Open Source webmail written in PHP and JavaScript

1.5k146.0k](/packages/jason-munro-cypht)[bentools/webpush-bundle

Send push notifications through Web Push Protocol to your Symfony users.

71274.3k](/packages/bentools-webpush-bundle)[phplist/core

The core module of phpList, the world's most popular open source newsletter manager

885.2k3](/packages/phplist-core)[serendipity_hq/bundle-aws-ses-monitor

Symfony bundle to monitor AWS SES bounces, complaints and deliveries through SNS. Comes with a command to fully configure the topics and includes configurable SwiftMailer filter to avoid sending emails to bounced and complained emails.

1380.7k](/packages/serendipity-hq-bundle-aws-ses-monitor)[azine/mailgunwebhooks-bundle

Symfony2 Bundle to easily capture feedback from mailgun.com via their provided webhooks

104.1k](/packages/azine-mailgunwebhooks-bundle)

PHPackages © 2026

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