Download the PHP package encodia/laravel-something-wrong without Composer
On this page you can find all versions of the php package encodia/laravel-something-wrong. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download encodia/laravel-something-wrong
More information about encodia/laravel-something-wrong
Files in encodia/laravel-something-wrong
Package laravel-something-wrong
Short Description A simple package for Laravel to notify handled errors, exceptions and more
License MIT
Homepage https://github.com/encodia/laravel-something-wrong
Informations about the package laravel-something-wrong
Something wrong
A simple package for Laravel to notify handled errors, exceptions and more.
Note: this package is still under development and currently its features are very limited.
Installation
You can install the package via composer:
You can publish the config file with:
Usage
Note: the current version only supports Bugsnag.
This means that anything you notify will use Bugsnag under the hood to send a notification.
Where
Typically, you will inject Encodia\SomethingWrong
in your service class constructor:
If you prefer, you can use its facade:
How
You can notify a simple exception, without any further details:
If you need to add any details, just pass an array as second argument:
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Credits
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-something-wrong with dependencies
bugsnag/bugsnag-laravel Version ^2.26
illuminate/contracts Version ^10.0|^11.0
spatie/laravel-package-tools Version ^1.9.2