minond/nice_error

Nicer error output

dev-master 2014-03-28 01:42 UTC

This package is not auto-updated.

Last update: 2024-12-16 16:58:45 UTC


README

Nicer errors for PHP. Just include "minond/nice_error": "dev-master" in your composer file, set the NICE_ERRORS environment variable to "1", and that's it:

{
	"require-dev": {
		"minond/nice_error": "dev-master"
	}
}
NICE_ERRORS=1 php your_php_script.php

Browser output

screenshot

CLI output

screenshot


Inspired by [Better Errors](https://github.com/charliesome/better_errors).