joelharkes / laravel-mailbox
Handle incoming emails in your Laravel application.
Installs: 38 817
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 128
Open Issues: 0
Requires
- php: ^7.3|^8.0
- illuminate/container: ^9.0|^10.0
- illuminate/database: ^9.0|^10.0
- illuminate/log: ^9.0|^10.0
- illuminate/routing: ^9.0|^10.0
- illuminate/support: ^9.0|^10.0
- willdurand/email-reply-parser: ^2.8
- zbateson/mail-mime-parser: ^2.2
Requires (Dev)
- laminas/laminas-mail: ^2.13
- mockery/mockery: ^1.2
- orchestra/testbench: ^7.0|^8.0
- phpunit/phpunit: ^7.0|^8.0|^9.3
This package is auto-updated.
Last update: 2024-07-24 20:40:43 UTC
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); });
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 joelharkes/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
- Marcel Pociot => original founder
- Joel Harkes => for this fork
- All Contributors
License
The MIT License (MIT). Please see License File for more information.