lucasmichot / mailcatcher by lucasmichot

Enable Mailcatcher for Laravel 4.2
1,101
4
2
Package Data
Maintainer Username: lucasmichot
Maintainer Contact: lucas@semalead.com (Lucas Michot)
Package Create Date: 2014-06-17
Package Last Update: 2016-12-08
Language: PHP
License: MIT
Last Refreshed: 2024-11-09 15:04:32
Package Statistics
Total Downloads: 1,101
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 4
Total Watchers: 2
Total Forks: 1
Total Open Issues: 0

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