esign / laravel-test-mail
Send test mails to verify your mail setup in Laravel.
1.1.0
2025-02-21 21:24 UTC
Requires
- php: ^8.1
- illuminate/console: ^10.0|^11.0|^12.0
- illuminate/mail: ^10.0|^11.0|^12.0
- illuminate/support: ^10.0|^11.0|^12.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.5
- orchestra/testbench: ^8.0|^9.0|^10.0
- phpunit/phpunit: ^10.1|^11.0
This package is auto-updated.
Last update: 2025-02-21 21:24:57 UTC
README
This package provides a simple command to send test emails, allowing you to verify your mail setup in a Laravel application. It supports both immediate sending and queueing of test emails.
Installation
You can install the package via composer:
composer require esign/laravel-test-mail
Usage
Sending a Test Mail
You can use the mail:test
command to send a test mail to a specified recipient:
php artisan mail:test hello@example.com
Queueing a Test Mail
If you want to queue the test mail instead of sending it immediately, you can use the --queue
option:
php artisan mail:test hello@example.com --queue
Testing
composer test
License
The MIT License (MIT). Please see License File for more information.