LaravelPackages.net
Acme Inc.
Toggle sidebar
dalnix/whoops-to-gitlab

A possibility to allow your users to send an issue to gitlab upon Whoops

44
0
0.0.3
About dalnix/whoops-to-gitlab

dalnix/whoops-to-gitlab is a Laravel package for a possibility to allow your users to send an issue to gitlab upon whoops. It currently has 0 GitHub stars and 44 downloads on Packagist (latest version 0.0.3). Install it with composer require dalnix/whoops-to-gitlab. Discover more Laravel packages by dalnix or browse all Laravel packages to compare alternatives.

Last updated

Whoops to gitlab

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

Comments