https://github.com/esign/laravel-test-mail
https://github.com/esign/laravel-test-mail
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/esign/laravel-test-mail
- Owner: esign
- License: mit
- Created: 2025-02-01T21:40:02.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-11-20T21:45:12.000Z (7 months ago)
- Last Synced: 2026-02-20T15:15:22.318Z (4 months ago)
- Language: PHP
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Send test mails to verify your mail setup in Laravel.
[](https://packagist.org/packages/esign/laravel-test-mail)
[](https://packagist.org/packages/esign/laravel-test-mail)

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:
```bash
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:
```bash
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:
```bash
php artisan mail:test hello@example.com --queue
```
### Testing
```bash
composer test
```
## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.