Skip to content

Composer library that re-routes all WordPress emails to MailCatcher

Notifications You must be signed in to change notification settings

vccw-team/mailcatcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vccw/mailcatcher

Build Status Latest Stable Version Total Downloads Latest Unstable Version License

Re-routes all WordPress emails to Mailcatcher.

http://mailcatcher.me/

How to use

Place a plugin into mu-plugins

Place a plugins into wp-content/mu-plugins like following.

<?php
/*
Plugin Name: mu-plugin for example.com
*/

require_once dirname( __FILE__ ) . '/vendor/autoload.php';

Create a composer.json

Create and place a composer.json into wp-content/mu-plugins.

{
    "name": "mu-plugins",
    "authors": [
        {
            "name": "John Smith",
            "email": "john@example.com"
        }
    ],
    "require-dev": {
        "vccw/mailcatcher": "*"
    }
}

Install libraries

Then run a composer command.

$ composer install

How to development

$ git clone git@github.com:vccw-team/mailcatcher.git
$ cd mailcatche
$ composer install

Running a PHPUnit

After you run a composer install, then run phpunit.

$ phpunit

About

Composer library that re-routes all WordPress emails to MailCatcher

Resources

Stars

Watchers

Forks

Packages

No packages published