vccw/mailcatcher

Installs: 952

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 4

Forks: 0

Open Issues: 0

Language:Shell

0.2.2 2015-08-12 07:34 UTC

This package is not auto-updated.

Last update: 2024-12-21 20:24:50 UTC


README

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