承接 jpuck/laravel-exception-mailer 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

jpuck/laravel-exception-mailer

Composer 安装命令:

composer require jpuck/laravel-exception-mailer

包简介

Simple email reporter for exceptions in laravel.

README 文档

README

Whenever an uncaught exception is thrown, this handler will email details about it and the request.

Installation

composer require jpuck/laravel-exception-mailer

If you're running Laravel 5.5, then you're done.

For Laravel 5.4, add the service provider to config/app.php

jpuck\laravel\exception\mailer\Provider::class,

Configuration

Make sure the app's mail settings are configured properly.

By default it will send to the config('mail.from.address') but this and the subject can be overridden by publishing the configuration file.

php artisan vendor:publish --tag=config --provider='jpuck\laravel\exception\mailer\Provider'

Don't Report

You can filter out exceptions you aren't interested in by filling in the dontReport array in App\Exceptions\Handler

protected $dontReport = [
    \Illuminate\Foundation\Http\Exceptions\MaintenanceModeException::class,
    \Symfony\Component\HttpKernel\Exception\NotFoundHttpException::class,
    \Illuminate\Database\Eloquent\ModelNotFoundException::class,
    \Symfony\Component\HttpKernel\Exception\MethodNotAllowedHttpException::class,
    \Illuminate\Auth\AuthenticationException::class,
    \Illuminate\Auth\Access\AuthorizationException::class,
    \Illuminate\Session\TokenMismatchException::class,
];

Customize Layout

You can also publish the view to customize the format.

php artisan vendor:publish --tag=views --provider='jpuck\laravel\exception\mailer\Provider'

统计信息

  • 总下载量: 82
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2018-01-11

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固