beyondcode / laravel-mailbox
Handle incoming emails in your Laravel application.
Installs: 686 625
Dependents: 5
Suggesters: 0
Security: 0
Stars: 1 069
Watchers: 14
Forks: 130
Open Issues: 34
Requires
- php: ^8.0
- illuminate/container: ^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0
- illuminate/database: ^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0
- illuminate/log: ^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0
- illuminate/routing: ^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0
- illuminate/support: ^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
Requires (Dev)
- laminas/laminas-mail: ^2.13
- mockery/mockery: ^1.2
- orchestra/testbench: ^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
README
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.
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.