jeremykenedy/laravel-email-database-log
最新稳定版本:v12.0.0
Composer 安装命令:
composer require jeremykenedy/laravel-email-database-log
包简介
A database logger for all outgoing emails sent by your Laravel application.
关键字:
README 文档
README
A database logger for all outgoing emails sent by your Laravel application.
Table of contents
Requirements
Installation Instructions
-
From your projects root folder in terminal run:
composer require jeremykenedy/laravel-email-database-log
-
Register the package
-
Laravel 5.5 and up Uses package auto discovery feature, no need to edit the
config/app.phpfile. -
Laravel 5.4 and below Register the package with laravel in
config/app.phpunderproviderswith the following:
'providers' => [ // ... jeremykenedy\LaravelEmailDatabaseLog\LaravelEmailDatabaseLogServiceProvider::class, ];
- Publish the packages migration files by running the following from your projects root folder:
php artisan vendor:publish --tag=laravel-email-database-log-migration
- From your projects root folder in terminal run the migration:
php artisan migrate
Usage
After installation, any email sent by your application will be logged to email_log table in the site's database.
File Tree
laravel-email-database-log ├── .all-contributorsrc ├── .github │ └── workflows │ └── master.yml ├── .gitignore ├── .styleci.yml ├── LICENSE.md ├── README.md ├── composer.json ├── composer.lock ├── phpunit.xml └── src ├── Database │ └── Migrations │ └── 2023_02_26_001638_create_email_log.php ├── EmailLogger.php ├── LaravelEmailDatabaseLogEventServiceProvider.php └── LaravelEmailDatabaseLogServiceProvider.php
- Tree command can be installed using brew:
brew install tree - File tree generated using command
tree -a -I '.git|node_modules|vendor|storage|tests'
License
Laravel Email Database Log is licensed under the MIT license. Enjoy!
统计信息
- 总下载量: 14.1k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 9
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-01-04