2017 © Pedro Peláez
 

library laker

Laravel package to track down bugs.

image

flyingluscas/laker

Laravel package to track down bugs.

  • Tuesday, September 27, 2016
  • by FlyingLuscas
  • Repository
  • 1 Watchers
  • 9 Stars
  • 46 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

Laker

Latest Version on Packagist ![Software License][ico-license] StyleCI ![Build Status][ico-travis] ![Quality Score][ico-code-quality] Total Downloads, (*1)

ATTENTION: This package is no longer maintained, please see the new BugNotifier package., (*2)

Laker is a Laravel 5.2/5.3 package to help you track down bugs., (*3)

Laker catches all exceptions fired by Laravel and saves them on Bitbucket as issues., (*4)

Install

Via Composer, (*5)

``` bash $ composer require flyingluscas/laker, (*6)


## Usage ### 1. Service Provider First thing you need to do is to add the `LakerServiceProvider` under the `providers` section on `config/app.php` ``` php 'providers' => [ // ... FlyingLuscas\Laker\LakerServiceProvider::class, ],

2. Configuration

Ok, now that our service provider is in place, we need to set up our configurarion file, run., (*7)

``` bash $ php artisan vendor:publish --provider="FlyingLuscas\Laker\LakerServiceProvider", (*8)


The command above will generate the `config/laker.php` file. | Option | Description | |:-----------------|:----------------------------------------------------| | account_slug | The slug of your account or team on Bitbucket. | | repository_slug | The slug of your repository on Bitbucket. | | auth | Your **username** and **password** from Bitbucket. | ### 3. Sending Issues All Laravel exceptions can be intercepted through the `app/Exceptions/Handler.php` file. On this file, go to the `report` method and add this on the top. ``` php use FlyingLuscas\Laker\Issue; use FlyingLuscas\Laker\Services\Bitbucket; public function report(Exception $exception) { $issue = new Issue($exception); $bitbucket = new Bitbucket; $issue->createOn($bitbucket); parent::report($exception); }

Change log

Please see CHANGELOG for more information what has changed recently., (*9)

Testing

bash $ composer test, (*10)

Contributing

Please see CONTRIBUTING and CONDUCT for details., (*11)

Security

If you discover any security related issues, please email lucas.pires.mattos@gmail.com instead of using the issue tracker., (*12)

Credits

License

The MIT License (MIT). Please see License File for more information., (*13)

The Versions

27/09 2016
12/09 2016
11/09 2016
11/09 2016

v0.1.0

0.1.0.0 https://github.com/flyingluscas/laker

Laravel package to track down bugs.

  Sources   Download

MIT

The Requires

 

The Development Requires

bitbucket issue bugs flyingluscas laker