dcblogdev / laravel-sent-emails by dcblog

Store outgoing emails in Laravel
42,816
250
8
Package Data
Maintainer Username: dcblog
Maintainer Contact: dave@dcblog.dev (David Carr)
Package Create Date: 2020-07-12
Package Last Update: 2024-09-22
Home Page:
Language: PHP
License: MIT
Last Refreshed: 2024-11-18 03:00:24
Package Statistics
Total Downloads: 42,816
Monthly Downloads: 1,239
Daily Downloads: 15
Total Stars: 250
Total Watchers: 8
Total Forks: 24
Total Open Issues: 1

Record and view all sent emails

Latest Version on Packagist Total Downloads

Example UI

Watch a video walkthrough https://www.youtube.com/watch?v=Oj_OF5n4l4k&feature=youtu.be

Sample UI

Installation

Note version 2+ requires Laravel 9+

You can install the package via composer:

composer require dcblogdev/laravel-sent-emails

Migration

You can publish the migration with:

php artisan vendor:publish --provider="Dcblogdev\LaravelSentEmails\SentEmailsServiceProvider" --tag="migrations"

After the migration has been published you can the tables by running the migration:

php artisan migrate

Config

You can publish the config with:

php artisan vendor:publish --provider="Dcblogdev\LaravelSentEmails\SentEmailsServiceProvider" --tag="config" After the config has been published you can change the route path for sentemails from /sentemails to anything you like such as /admin/sentemails:

'routepath' => 'sentemails'

Views

You can publish the view with:

php artisan vendor:publish --provider="Dcblogdev\LaravelSentEmails\SentEmailsServiceProvider" --tag="views"

The views will be published to resources/views/vendor/sentemails

You can change the views to match your theme if desired.

Usage

As soon as a email is sent it will be added to a database table and will be viewable in /admin/sentemails.

Note you have to be logged in to be able to see admin/sentemails, if you are not logged in when you attempt to see admin/sentemails you will be redirected to a login route.

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 dave@dcblog.dev instead of using the issue tracker.

Credits

License

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