Skip to content

RPillz/laravel-mails

 
 

Repository files navigation

Laravel Mails

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

Laravel Mails can collect everything you might want to track about the mails that has been sent by your Laravel app. Common use cases are provided in this package:

  • Log all sent emails with only specific attributes
  • Collect feedback about the delivery from email providers using webhooks
  • Relate sent emails to Eloquent models
  • Get automatically notified when email bounces
  • Prune logging of emails periodically
  • Resend logged email to another recipient

Installation

You can install the package via composer:

composer require vormkracht10/laravel-mails

You can publish and run the migrations with:

php artisan vendor:publish --tag="laravel-mails-migrations"
php artisan migrate

You can publish the config file with:

php artisan vendor:publish --tag="laravel-mails-config"

This is the contents of the published config file:

return [
];

Optionally, you can publish the views using

php artisan vendor:publish --tag="laravel-mails-views"

Usage

$laravelMails = new Vormkracht10\Mails();
echo $laravelMails->echoPhrase('Hello, Vormkracht10!');

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.

About

Collect everything about sent mails in your Laravel app

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%