Laravel 6 – 12
PHP 7.3+
Low commit activity in last 18 months
There's a lot of open issues
No release in over a year
Handle incoming emails in your Laravel application.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

laminas/laminas-mail
^2.13
mockery/mockery
^1.2
^4.0|^5.0|^7.0|^8.0|^9.0|^10.0
phpunit/phpunit
^7.0|^8.0|^9.3|^10.5|^11.5.3

Runtime

^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0
^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0
^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0
^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0
^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0
willdurand/email-reply-parser
^2.8
zbateson/mail-mime-parser
^1.1|^2.4|^3.0
 Project Readme

Laravel Mailbox 📬

Latest Version on Packagist Total Downloads

Handle incoming emails in your Laravel application.

Mailbox::from('{username}@gmail.com', function (InboundEmail $email, $username) {
    // Access email attributes and content
    $subject = $email->subject();

    $email->reply(new ReplyMailable);
});

Installation

You can install the package via composer:

composer require beyondcode/laravel-mailbox

Usage

Take a look at the official documentation.

Catch, test and debug application mails with Laravel Herd

Laravel Herd provides an integrated local email service, streamlining the process of testing and debugging application emails. The email service organizes emails into distinct inboxes for each application, ensuring they are easily accessible and simple to locate.

herd.laravel.com

image

Testing

Inbound messages are parsed with zbateson/mail-mime-parser (see the docs on handling inbound email). Run the package test suite with:

composer test

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email marcel@beyondco.de instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.