New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

basslhm/laravel-mailbox

Handle incoming emails in your Laravel application.
2,761
Install
composer require basslhm/laravel-mailbox
Latest Version:v3.0.1
PHP:^7.3|^8.0
Laravel:6 – 12
Older releases:5
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,378,272 1,135
beyondcode/laravel-dump-server

Symfony Var-Dump Server for Laravel

46,022,281 1,554
beyondcode/laravel-query-detector

Laravel N+1 Query Detector

8,687,449 2,060
beyondcode/laravel-server-timing

Add Server-Timing header information from within your Laravel apps.

2,660,663 572
beyondcode/laravel-er-diagram-generator

Generate ER diagrams from your Laravel models.

1,732,671 2,022

Version History

Version Released PHP Laravel License
v3.0.1 ^7.3|^8.0 ^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0 MIT
v3.0 ^7.3|^8.0 ^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0 MIT
2.1.2 ^7.3|^8.0 ^6.0|^7.0|^8.0 MIT
2.1.1 ^7.3 ^6.0|^7.0|^8.0 MIT
2.1.0 ^7.3 ^6.0|^7.0|^8.0 MIT