dalnix/whoops-to-gitlab
Composer 安装命令:
composer require dalnix/whoops-to-gitlab
包简介
A possibility to allow your users to send an issue to gitlab upon Whoops
README 文档
README
This package gives your users the option to create an issue on gitlab upon "Whoops" error when APP_DEBUG is set to false. For laravel 5.4 and 5.5.
Installation
composer require dalnix/whoops-to-gitlab
If you want to edit views or config file
php artisan vendor:publish --provider="Dalnix\WhoopsToGitLab\WhoopsToGitlabServiceProvider"
Add following to your env file
GITLAB_PROJECT_URL=( your gitlab project url : https://gitlab.domain.com/api/v4/projects/(project-ID)/ )
GITLAB_TOKEN=( Personal gitlab token )
SELECTED_BIN=(null or pastebin default null)
PASTEBIN_API_DEV_KEY=( your api key )
PASTEBIN_API_PASTE_PRIVATE=( 1 or 0 default 1)
PASTEBIN_PASTE_EXPIRE_DATE=( default 10M )
PASTEBIN_PASTE_EXPIRE_FORMAT=(default json )
Add to your config/app
Dalnix\WhoopsToGitlab\WhoopsToGitlabServiceProvider::class
This is still in development but works
统计信息
- 总下载量: 44
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-09-22