basslhm/laravel-mailbox

Handle incoming emails in your Laravel application.
2,698
Install
composer require basslhm/laravel-mailbox
Latest Version:v3.0.1
PHP:^7.3|^8.0
License:MIT
Last Updated:Apr 22, 2025
Links: GitHub  ·  Packagist
Maintainer: kompo

Laravel Mailbox 📬

Latest Version on Packagist Build Status Quality Score 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);
});

https://phppackagedevelopment.com

If you want to learn how to create reusable PHP packages yourself, take a look at my upcoming PHP Package Development video course.

Installation

You can install the package via composer:

composer require beyondcode/laravel-mailbox

Usage

Take a look at the official documentation.

Testing

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.

Related Packages

beyondcode/laravel-mailbox

Handle incoming emails in your Laravel application.

1,261,699 1,133
beyondcode/laravel-er-diagram-generator

Generate ER diagrams from your Laravel models.

1,639,193 2,021
beyondcode/laravel-dump-server

Symfony Var-Dump Server for Laravel

45,121,824 1,557
beyondcode/laravel-query-detector

Laravel N+1 Query Detector

8,042,444 2,056
beyondcode/laravel-self-diagnosis

Perform various self diagnosis tests on your Laravel application.

1,212,521 1,451