PHPackages                             jlaso/mail-queue-bundle - 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. jlaso/mail-queue-bundle

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

jlaso/mail-queue-bundle
=======================

A simple mail queue

111PHP

Since Jan 30Pushed 8y ago2 watchersCompare

[ Source](https://github.com/jlaso/MailQueueBundle)[ Packagist](https://packagist.org/packages/jlaso/mail-queue-bundle)[ RSS](/packages/jlaso-mail-queue-bundle/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

[![Latest Stable Version](https://camo.githubusercontent.com/98de2564538c24c6ca16c3708912284b0315333bf52482f5e26605a24667e651/68747470733a2f2f706f7365722e707567782e6f72672f6a6c61736f2f4d61696c517565756542756e646c652f762f737461626c652e737667)](https://packagist.org/packages/jlaso/mail-queue-bundle)[![Total Downloads](https://camo.githubusercontent.com/8edc194efae612c1740112efb7c56e799b29b0ad78566ecf7985d2e37195d0c2/68747470733a2f2f706f7365722e707567782e6f72672f6a6c61736f2f4d61696c517565756542756e646c652f646f776e6c6f6164732e737667)](https://packagist.org/packages/jlaso/mail-queue-bundle)[![Latest Unstable Version](https://camo.githubusercontent.com/df1f7275e347e8610a214172261e60fc8f9e6937d100866d48f50c9215904ecf/68747470733a2f2f706f7365722e707567782e6f72672f6a6c61736f2f4d61696c517565756542756e646c652f762f756e737461626c652e737667)](https://packagist.org/packages/jlaso/mail-queue-bundle)[![License](https://camo.githubusercontent.com/15cf8f2309af08dd8bb0dd240999f37a55a322bb57cb3b7b84a3a7d797051699/68747470733a2f2f706f7365722e707567782e6f72672f6a6c61736f2f4d61696c517565756542756e646c652f6c6963656e73652e737667)](https://packagist.org/packages/jlaso/mail-queue-bundle)

======== Overview
=================

[](#overview)

This bundle handles a mail queue

In order to install this bundle you need to pay attention with requirements:

```
php >= 5.6
redis >= 1.0

```

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

[](#installation)

`composer require jlaso/mail-queue-bundle`

Then register the bundle with your kernel:

```
// in AppKernel::registerBundles()
$bundles = array(
    // ...
    new JLaso\MailQueueBundle\MailQueueBundle(),
    // ...
);

```

Test if works
-------------

[](#test-if-works)

```
bin/console jlaso:mail:test mail@example.com

```

Setting up the cron
-------------------

[](#setting-up-the-cron)

`crontab -e` to add more jobs to the cron list

```
* * * * * php /path/to/your/project/bin/console jlaso:mail-queue:process --env=prod >> /var/log/mail-queue.log

```

Using in a Controller
---------------------

[](#using-in-a-controller)

```
/** @var MailQueueService $mailQueueService */
$mailQueueService = $this->get('jlaso_mail_queue_service');
$mailQueueService->queueMail(
    'sender@example.com',
    'dest@example.com,
    'This a test email',
    'The body of the email comes here'
);

```

Remember that the instructions above don't send actually the mail. We are just queueing the mail, the cron will process pending mails in the next round.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

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/6f19216fd9d91bd7cfff14362e2ddb5728bd2d8f50d2e0174626fc61510ed33b?d=identicon)[jlaso](/maintainers/jlaso)

### Embed Badge

![Health badge](/badges/jlaso-mail-queue-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/jlaso-mail-queue-bundle/health.svg)](https://phpackages.com/packages/jlaso-mail-queue-bundle)
```

###  Alternatives

[tijsverkoyen/css-to-inline-styles

CssToInlineStyles is a class that enables you to convert HTML-pages/files into HTML-pages/files with inline styles. This is very useful when you're sending emails.

5.8k505.3M227](/packages/tijsverkoyen-css-to-inline-styles)[minishlink/web-push

Web Push library for PHP

1.9k12.0M53](/packages/minishlink-web-push)[laravel-notification-channels/twilio

Provides Twilio notification channel for Laravel

2587.7M12](/packages/laravel-notification-channels-twilio)[spatie/url-signer

Generate a url with an expiration date and signature to prevent unauthorized access

4422.3M16](/packages/spatie-url-signer)[mattketmo/email-checker

Throwaway email detection library

2742.0M5](/packages/mattketmo-email-checker)[laravel-notification-channels/discord

Laravel notification driver for Discord.

2371.3M11](/packages/laravel-notification-channels-discord)

PHPackages © 2026

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