Catch incoming emails in your Laravel application
Branch: master
Clone or download
mpociot Merge pull request #20 from webfox/feature_custom_model
Allow defining a custom model for InboundEmail
Latest commit d0d300b Feb 7, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config Allow defining a custom model for InboundEmail Feb 6, 2019
database/migrations wip Jan 22, 2019
src Merge pull request #20 from webfox/feature_custom_model Feb 7, 2019
tests Allow defining a custom model for InboundEmail Feb 6, 2019
.editorconfig wip Jan 21, 2019
.gitattributes wip Jan 21, 2019
.gitignore wip Jan 21, 2019
.scrutinizer.yml wip Jan 21, 2019
.styleci.yml wip Jan 21, 2019
.travis.yml wip Jan 21, 2019
CHANGELOG.md wip Jan 21, 2019
CONTRIBUTING.md wip Jan 21, 2019
LICENSE.md wip Jan 21, 2019
README.md Update README.md Jan 28, 2019
composer.json Merge pull request #7 from barryvdh/patch-1 Jan 28, 2019
phpunit.xml.dist wip Jan 21, 2019

README.md

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.