PHPackages                             davin-bao/mailbox - 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. davin-bao/mailbox

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

davin-bao/mailbox
=================

030PHP

Since Aug 19Pushed 10y ago1 watchersCompare

[ Source](https://github.com/davin-bao/mailbox)[ Packagist](https://packagist.org/packages/davin-bao/mailbox)[ RSS](/packages/davin-bao-mailbox/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

mailbox
=======

[](#mailbox)

Config Redis
------------

[](#config-redis)

- Go to app/config/database.php, add code:

```
'redis' => array(

		'cluster' => false,

		'default' => array(
			'host'     => '127.0.0.1',
			'port'     => 6379,
			'database' => 0,
		),

	),
```

- Go to app/config/cache.php, modify the code:

```
  ...
  'driver' => 'redis',
  ...
```

Multi Queue Config
------------------

[](#multi-queue-config)

- Go to app/config/queue.php, add code:

```
...
'default' => 'low',
...

	'connections' => array(

		...

    'high' => array(
      'driver' => 'redis',
      'queue'  => 'high',
    ),
    'low' => array(
      'driver' => 'redis',
      'queue'  => 'low',
    ),

	),
```

- Open CMD, and run command: `php artisan queue:listen --queue=low --sleep=0 --timeout=0`
- Open CMD, and run command: `php artisan queue:listen --queue=high --sleep=0 --timeout=0`
- Add queue:

```
  \Queue::push(function($job)
  {
     \Log::info('10This is was written via the MailWorker class at '.time().', id is '.$job->getJobId());
     $job->release(10);
  },array('message' => 'aa'), 'high');

  \Queue::push( '\DavinBao\Mailbox\MailWorker@receiveMail', array('message' => 'aa'), 'low');
```

###  Health Score

20

—

LowBetter than 12% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/6d4bcfd83f5b742d5aeddbc12fdcd74806a7b79d770b613a707fe49bc74cd3d9?d=identicon)[davin-bao](/maintainers/davin-bao)

---

Top Contributors

[![davin-bao](https://avatars.githubusercontent.com/u/5162830?v=4)](https://github.com/davin-bao "davin-bao (20 commits)")

### Embed Badge

![Health badge](/badges/davin-bao-mailbox/health.svg)

```
[![Health](https://phpackages.com/badges/davin-bao-mailbox/health.svg)](https://phpackages.com/packages/davin-bao-mailbox)
```

###  Alternatives

[bigbharatjain/laravel-clickatell

This package makes it easy to send sms using clickatell.com with Laravel 5.

1435.2k](/packages/bigbharatjain-laravel-clickatell)[motomedialab/smtp2go

Send emails via API using the first-class email courier SMTP2Go

1323.6k](/packages/motomedialab-smtp2go)

PHPackages © 2026

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