承接 patrickrose/whoops-configurator 相关项目开发

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

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

patrickrose/whoops-configurator

Composer 安装命令:

composer require patrickrose/whoops-configurator

包简介

Provides a sensible way to configure Whoops in Laravel

README 文档

README

Whoops is pretty damn awesome. Laravel is pretty damn awesome and includes Whoops. Changing the configuration for Whoops is not.

Installing

Add the following to your composer.json (Put it in the require-dev block since you aren't showing debug messages in production...right?):

"require-dev": {
    ...,
    "patrickrose/whoops-configurator": "1.*"
}

Then run composer update and watch as pretty much nothing happens

Then load the service provider in your app.php file (I'd recommend against loading it in production - you can cascade so everything doesn't break by using the append_config() function)

    "PatrickRose\WhoopsConfigurator\WhoopsConfiguratorServiceProvider"

Finally, publish the config file:

php artisan config:publish patrickrose/whoops-configurator

Then you're all done!

Config Options

Currently, there are two options: editor and title. They're mostly self explanatory.

Editors

Whoops comes with support for four editors (I may add support for other editors later). To use one, just set the editor value to one of the following:

  • sublime - Sublime Text 2
  • emacs - Emacs
  • textmate - Textmate
  • macvim - MacVim

If you wish to provide your own support, you may instead pass a closure. See Whoops' Docs for more info on that.

Title

Self explanatory. If you want to insult yourself, make a geeky joke or whatever then change the title value to whatever you like.

License

This is licensed under the MIT license

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-05-08

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固