2017 © Pedro Peláez
 

library exception-mail

send exception mail for laravel

image

csi0n/exception-mail

send exception mail for laravel

  • Wednesday, September 21, 2016
  • by csi0n
  • Repository
  • 1 Watchers
  • 0 Stars
  • 11 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

安装

composer require csi0n/laravel-excetion

或者在composer.json中添加, (*1)

 "require": {

        "csi0n/exception-mail": "^1.0"
}

然后执行composer update, (*2)

使用方法

config/app.php中添加, (*3)

'providers' => [
   csi0n\ExceptionEmail\ExceptionMailServiceProvider::class,
]
.....
'aliases' => [
        'ExceptionEmailRepository' => csi0n\ExceptionEmail\Facades\ExceptionEmailFacade::class,
    ],

php artisan vendor:publish, (*4)

config/exception_mail.php Add ExceptionEmailRepository::send($e); to app\Exceptions\Handle.php like this:, (*5)

public function render($request, Exception $e)
    {
        ExceptionEmailRepository::send($e);
        return parent::render($request, $e);
    }

Enjoy it!, (*6)

The Versions

21/09 2016

1.0.1

1.0.1.0

send exception mail for laravel

  Sources   Download

by Avatar csi0n

21/09 2016

dev-master

9999999-dev

send exception mail for laravel

  Sources   Download

by Avatar csi0n

21/09 2016

1.0.0

1.0.0.0

send exception mail for laravel

  Sources   Download

by Avatar csi0n