PHP MIT

laravel-mailbox

Catch incoming emails in your Laravel application

B

beyondcode

Dernière activité 20 mars 2026
beyondcode/laravel-mailbox

1,1 k

étoiles

127

forks

31

issues ouvertes

hacktoberfestlaravelmailmailgunsendgrid

Ce README est souvent en anglais.

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.

Projets similaires

Collect everything about sent mails in your Laravel app

PHPemaillaravellaravel-framework
Bbackstagephp
254 étoiles34

Manage newsletters in Laravel

PHPlaravelmailchimpmailchimp-api
Sspatie
1,6 k étoiles234

Receive webhooks in Laravel apps

PHPlaravelwebhooks
Sspatie
1,2 k étoiles160