2017 © Pedro Peláez
 

library mail-mango

Mail preview package for laravel

image

armandsar/mail-mango

Mail preview package for laravel

  • Monday, April 16, 2018
  • by armandsar
  • Repository
  • 1 Watchers
  • 1 Stars
  • 176 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 2 % Grown

The README.md

Mail Mango

Software License Build Status Total Downloads, (*1)

Mail preview for Laravel 5., (*2)

Email are opened directly in your browser. Works for emails sent in background as well (just make sure your base url is configured)., (*3)

Install

Via Composer, (*4)

``` bash $ composer require armandsar/mail-mango --dev, (*5)


You'll only want this for local development, so you should not update `providers` array in `config/app.php`. Instead, add the provider in `app/Providers/AppServiceProvider.php`, like so: ```php public function register() { if ($this->app->environment() == 'local') { $this->app->register(\Armandsar\MailMango\MailMangoServiceProvider::class); } }

Set "mail_mango" as your mail driver., (*6)

Send emails and see them straight in your browser or head to yoursite.dev/mail-mango to see all emails, (*7)

Publish config

``` bash $ php artisan vendor:publish, (*8)


## Console command to open email in browser See mail_mango.php from published config to configure this to fit your needs. Defaults to xdg open on Linux and open on Mac. See published config for other settings ## TODO Change layout ## Testing ``` bash $ phpunit

License

The MIT License (MIT). Please see License File for more information., (*9)

The Versions