Skip to content

lucasmichot/mailcatcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mailcatcher

Enable Mailcatcher for Laravel 4.2.

The purpose of this package is to allow you to use Mailcatcher server for emails sent by Laravel in pretending mode.

Requirements:

Installing Mailcatcher

All the installation documentation is available at Mailcatcher website.

Tips: You are a Homebrew and don't want to manage gem packages ? You can easily install it with this simple command line :

$ brew update && brew upgrade
$ brew install brew-gem && brew gem install mailcatcher

Package installation

Begin by installing this package through Composer. Edit your project's composer.json file to require lucasmichot/mailcatcher.

"require-dev": {
  "lucasmichot/mailcatcher": "dev-master"
}

Next, update Composer from the Terminal:

$ composer update --dev

You can achieve these operations with this one-liner command :

$ composer require "lucasmichot/mailcatcher:dev-master" --dev

Once this operation completes, the final step is to add the service provider. Open app/config/app.php, and add a new item to the providers array.

'Lucasmichot\Mailcatcher\MailcatcherServiceProvider',

Note:

If you are using Ryan Tablada's Package Installer, you can simply install this package, without having to update app/config/app.php, by typing :

$ php artisan package:install lucasmichot/mailcatcher

TODO

  • Finish documentation