Skip to content

Pretty Error is a simplified way to handle PHP errors with a pretty interface

License

Notifications You must be signed in to change notification settings

shahinmoyshan/prettyerror

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pretty Error

Pretty Error is a simplified way to handle PHP errors with a pretty interface

Installation

It's recommended that you use Composer to install SweetView.

$ composer require vulcanphp/prettyerror

Register Pretty Error

<?php

use VulcanPhp\PrettyError\PrettyError;

require_once __DIR__ . '/vendor/autoload.php';

// register PrettyError for Development Mode
PrettyError::register(PrettyError::ENV_DEVELOPMENT);

// register PrettyError for Production Mode
PrettyError::register(PrettyError::ENV_PRODUCTION);

// ...

That's it..

About

Pretty Error is a simplified way to handle PHP errors with a pretty interface

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages