dalnix / whoops-to-gitlab
A possibility to allow your users to send an issue to gitlab upon Whoops
0.0.3
2018-02-20 07:27 UTC
Requires
- php: ^7.0
- camspiers/json-pretty: 1.0.*
- guzzlehttp/guzzle: ~6.0
This package is not auto-updated.
Last update: 2025-02-02 06:55:18 UTC
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