New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

sukohi/mail-catcher

A Laravel package to forcely change email address to send for email testing.
19

Larablocks Analysis

sukohi/mail-catcher works with Laravel 5 (latest release 2.0.0, May 19, 2016), which reached end of life: no more fixes, even for security.

Laravel 4 in earlier releases.

Recommendation checks

Not advised

Not advised: no release or commit in over 2 years.

  • No release or commit in over 2 years
  • Supports only Laravel 5, past end of life
  • No release in the last 12 months (last: May 19, 2016)
  • 0 downloads a month (needs 10,000)
  • 0 GitHub stars (needs 100)

State

Likely abandoned
  • No release or commit in over 2 years.
  • Last stable release: May 19, 2016.
  • No releases in the last 12 months.
  • First released: May 19, 2016.
  • 0 open issues on GitHub.

Data from Packagist and GitHub, checked by Larablocks on Nov 28, 2026.

Install
composer require sukohi/mail-catcher
Latest Version:2.0.0
Laravel:5
Older releases:4
License:MIT
Last Updated:May 19, 2016
Links: GitHub  ·  Packagist
Maintainer: Sukohi

laravel-mail-catcher

A Laravel package to forcedly change sending email address when email testing.
(This is for Laravel 5+. For Laravel 4.2)

Installation

Execute composer command.

composer require sukohi/mail-catcher:2.*

Replace the service provider in app.php

Illuminate\Mail\MailServiceProvider::class to Sukohi\MailCatcher\MailCatcherServiceProvider::class

Also alias

'Mail' => Illuminate\Support\Facades\Mail::class to 'Mail' => Sukohi\MailCatcher\Facades\Mailer::class

Usage

You can use \Mail::send() as well as before.
However if config/mail.php has mail_catcher value like the below, sending email address will change forcedly.

return array(

    // Others

    'mail_catcher' => client@example.com

);

or you can set multiple email addresses.

return array(

    // Others

    'mail_catcher' => [
        'client@example.com',
        'client2@example.com',
    ]

);

License

This package is licensed under the MIT License.

Copyright 2016 Sukohi Kuhoh

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

670,032,257 9,703
laravel/framework

The Laravel Framework.

640,572,096 35,338
laravel/tinker

Powerful REPL for the Laravel framework.

546,909,908 7,440
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

465,816,364 607
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

431,187,642 4,660

Version History

Version Released PHP Laravel License
2.0.0 ~5.0 MIT
1.0.0 >=5.4.0 4.2.* MIT