New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

cristianvuolo/exceptions

Provides A Powerful Error Response System For Both Development And Production
29

Larablocks Analysis

cristianvuolo/exceptions works with Laravel 5 (latest release 1.0.1, Apr 25, 2017), which reached end of life: no more fixes, even for security.

Recommendation checks

Not advised

Not advised: no release or commit in over 2 years.

  • No release or commit in over 2 years
  • Supports only Laravel 5, past end of life
  • No release in the last 12 months (last: Apr 25, 2017)
  • 0 downloads a month (needs 10,000)
  • 0 GitHub stars (needs 100)

State

Likely abandoned
  • No release or commit in over 2 years.
  • Last stable release: Apr 25, 2017.
  • No releases in the last 12 months.
  • First released: Mar 2, 2017.
  • 0 open issues on GitHub.

Data from Packagist and GitHub, checked by Larablocks on Dec 4, 2026.

Install
composer require cristianvuolo/exceptions
Latest Version:1.0.1
PHP:>=5.5.9
Laravel:5
License:MIT
Last Updated:Apr 25, 2017
Links: GitHub  ·  Packagist
Maintainer: cristianvuolo

Laravel Exceptions

Laravel Exceptions was created by, and is maintained by Graham Campbell, and provides a powerful error response system for both development and production for Laravel 5. It optionally utilises the Whoops package for the development error pages. Feel free to check out the change log, releases, license, and contribution guidelines.

Laravel Exceptions

StyleCI Status Build Status Coverage Status Quality Score Software License Latest Version

Installation

Either PHP 5.5+ or HHVM 3.6+ are required.

To get the latest version of Laravel Exceptions, simply require the project using Composer:

$ composer require graham-campbell/exceptions

Instead, you may of course manually update your require block and run composer update if you so choose:

{
    "require": {
        "cristianvuolo/exceptions": "^9.0"
    }
}

If you want to have the debug error pages available, you're going to need to require Whoops:

$ composer require filp/whoops --dev

We support both Whoops ^1.1 or ^2.0, so feel free to use either.

Once Laravel Exceptions is installed, you need to register the service provider. Open up config/app.php and add the following to the providers key.

  • 'CristianVuolo\Exceptions\ExceptionsServiceProvider'

You then MUST change your App\Exceptions\Handler class to extend CristianVuolo\Exceptions\NewExceptionHandler for Laravel 5.3 or CristianVuolo\Exceptions\ExceptionHandler for Laravel 5.1/5.2, rather than extending Illuminate\Foundation\Exceptions\Handler, or if you're using Lumen, you're going to want to extend CristianVuolo\Exceptions\LumenExceptionHandler.

Configuration

Laravel Exceptions supports optional configuration.

To get started, you'll need to publish all vendor assets:

$ php artisan vendor:publish

This will create a config/exceptions.php file in your app that you can modify to set your configuration. Also, make sure you check for changes to the original config file in this package between releases.

There are a few config options:

Exception Transformers

This option ('transformers') defines each of the exception transformers setup for your application. This allows you to turn your exceptions into other exceptions such as exceptions for perfect results when passed to the displayers. Note that this list is processed in order and subsequent transformers can still modify the results of previous ones if required.

Exception Displayers

This option ('displayers') defines each of the exception displayers setup for your application. These displayers are sorted by priority. Note that when we are in debug mode, we will select the first valid displayer from the list, and when we are not in debug mode, we'll filter out all verbose displayers, then select the first valid displayer from the new list.

Displayer Filters

This option ('filters') defines each of the filters for the displayers. This allows you to apply filters to your displayers in order to work out which displayer to use for each exception. This includes things like content type negotiation.

Default Displayer

This option ('default') defines the default displayer for your application. This displayer will be used if your filters have filtered out all the displayers, otherwise leaving us unable to displayer the exception.

Exception Levels

This option ('levels') defines the log levels for the each exception. If an exception passes an instance of test for each key, then the log level used is the value associated with each key.

Usage

There is currently no usage documentation for Laravel Exceptions, but we are open to pull requests.

Security

If you discover a security vulnerability within this package, please send an e-mail to Graham Campbell at graham@alt-three.com. All security vulnerabilities will be promptly addressed.

License

Laravel Exceptions is licensed under The MIT License (MIT).

Alternatives to cristianvuolo/exceptions

bugsnag/bugsnag-laravel

Official Bugsnag notifier for Laravel applications.

40,237,298 903
graham-campbell/manager

Manager Provides Some Manager Functionality For Laravel

25,729,167 392
honeybadger-io/honeybadger-laravel

Honeybadger Laravel integration

1,642,187 44
thehocinesaad/laravel-error-ai

This package adds Ask AI button to the error page.

67,710 22

Version History

Version Released PHP Laravel License
1.0.1 >=5.5.9 5.1.*|5.2.*|5.3.*|5.4.* MIT
1.0.0 >=5.5.9 5.1.*|5.2.*|5.3.*|5.4.* MIT