vccw / mailcatcher
Installs: 953
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
Language:Shell
pkg:composer/vccw/mailcatcher
Requires
- php: >=5.3
This package is not auto-updated.
Last update: 2025-10-26 00:40:10 UTC
README
Re-routes all WordPress emails to Mailcatcher.
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