A Laravel package for catching and handling incoming emails in your application.
Laravel Mailbox is a PHP package for Laravel that allows applications to catch and process incoming emails. It solves the problem of building email-driven features by providing a simple way to define handlers for incoming messages, parse their content, and send automated replies. Developers can use it to create support ticket systems, notification responders, or any workflow triggered by email.
Laravel developers building applications that need to receive and respond to emails automatically, such as customer support systems, notification services, or email-based automation tools.
Developers choose Laravel Mailbox because it integrates natively with Laravel's ecosystem, offers a clean, expressive API for defining email handlers, and leverages robust MIME parsing. It simplifies a complex task—handling inbound email—into a few lines of code.
Catch incoming emails in your Laravel application
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Integrates natively with Laravel's mailables and fluent API, as shown in the code example for defining handlers and replying directly within the framework.
Leverages zbateson/mail-mime-parser, a reliable library for parsing email content, attachments, and headers, ensuring accurate data extraction.
Works with Laravel Herd for organized email inboxes per application, simplifying debugging and testing workflows, as highlighted in the README.
Provides clean syntax for routing emails and capturing parameters from addresses, enabling conditional logic with minimal boilerplate code.
The README lacks detailed setup instructions, only linking to official docs, which can hinder quick implementation without additional research.
Heavily dependent on Laravel and tools like Herd, making it inflexible for projects using other frameworks or custom testing setups.
Focuses on basic parsing and routing; advanced needs like email threading or custom MIME handling require manual extension or additional packages.