Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rigor789/airbrake-laravel
Laravel package for the Airbrake API, which supports Errbit
https://github.com/rigor789/airbrake-laravel
airbrake airbrake-laravel errbit laravel laravel-package php
Last synced: 3 days ago
JSON representation
Laravel package for the Airbrake API, which supports Errbit
- Host: GitHub
- URL: https://github.com/rigor789/airbrake-laravel
- Owner: rigor789
- License: mit
- Created: 2015-02-15T14:42:45.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2019-05-08T15:43:17.000Z (over 5 years ago)
- Last Synced: 2024-12-09T06:36:37.434Z (14 days ago)
- Topics: airbrake, airbrake-laravel, errbit, laravel, laravel-package, php
- Language: PHP
- Size: 16.6 KB
- Stars: 16
- Watchers: 3
- Forks: 9
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Airbrake Laravel Package
[![Latest Stable Version](https://poser.pugx.org/rigor789/airbrake-laravel/v/stable.svg)](https://packagist.org/packages/rigor789/airbrake-laravel) [![Total Downloads](https://poser.pugx.org/rigor789/airbrake-laravel/downloads.svg)](https://packagist.org/packages/rigor789/airbrake-laravel) [![Latest Unstable Version](https://poser.pugx.org/rigor789/airbrake-laravel/v/unstable.svg)](https://packagist.org/packages/rigor789/airbrake-laravel) [![License](https://poser.pugx.org/rigor789/airbrake-laravel/license.svg)](https://packagist.org/packages/rigor789/airbrake-laravel)The master branch is for Laravel 5! For Laravel 4 check out the laravel4 branch.
Versions starting with 0.* are for Laravel 4
Versions starting with 1.* are for Laravel 5This is a Laravel package for utilizing [Airbrake API](https://github.com/airbrake/airbrake-php) to collect errors.
It Supports [ErrBit](https://github.com/errbit/errbit) just change the host in the config.
# Install
First pull in the packages as a dependency
```
composer require rigor789/airbrake-laravel
```Then add the ServiceProvider to your ``` config/app.php ```
```php
...
'providers' => [
...
'rigor789\AirbrakeLaravel\AirbrakeServiceProvider',
...],
...
```Once you have added the ServiceProvider to your app you will need to do some basic configuration. This can be done in your .env file:
```
AIRBRAKE_ENABLED=true
AIRBRAKE_API_KEY=your_api_key
```You can also publish the config file for more advanced configuration options:
```
php artisan vendor:publish --provider="rigor789\AirbrakeLaravel\AirbrakeServiceProvider"
```Then you can enable error reporting also in the config, and customize it as you want. You are good to go!
# Issues
If you find any issues, submit a report [here](https://github.com/rigor789/airbrake-laravel/issues)
# Contributing
If you want to contribute, just submit a [pull request](https://github.com/rigor789/airbrake-laravel/pulls).
# License
Licensed under the MIT license. See the [LICENSE](https://github.com/rigor789/airbrake-laravel/blob/master/LICENSE) file for details.