2017 © Pedro PelĂĄez
 

library lib-errordisplay

Code Inc.'s error display library

image

codeinchq/lib-errordisplay

Code Inc.'s error display library

  • Friday, March 2, 2018
  • by joanfabregat
  • Repository
  • 1 Watchers
  • 0 Stars
  • 6 Installations
  • PHP
  • 2 Dependents
  • 1 Suggesters
  • 0 Forks
  • 0 Open issues
  • 18 Versions
  • 500 % Grown

The README.md

PHP library to render errors in HTML and CLI

The PHP 7 library provides to classes dedicated to render exceptions and errors (everything which implements Throwable)., (*1)

Usage

<?php
use CodeInc\ErrorRenderer\HtmlErrorRenderer;
use CodeInc\ErrorRenderer\ConsoleErrorRenderer;

// Creating a fake exception
$fakeException = new \Exception("A last exception", 1010, 
    new \Exception("A child exception", 0,
        new \Exception("A source exception")));

// Rendering for a web browser
echo new HtmlErrorRenderer($fakeException);

// Rendering for CLI
echo new ConsoleErrorRenderer($fakeException);

// Rendering using option (all option enabled)
echo new ConsoleErrorRenderer($fakeException, ConsoleErrorRenderer::OPT_ALL);

// Rendering with all options but no colors
echo new ConsoleErrorRenderer($fakeException, ConsoleErrorRenderer::OPT_ALL ^ ConsoleErrorRenderer::OPT_COLORS);

Installation

This library is available through Packagist and can be installed using Composer:, (*2)

composer require codeinc/error-renderer

License

The library is published under the MIT license (see LICENSE file)., (*3)

The Versions

02/03 2018

dev-master

9999999-dev https://github.com/codeinchq/lib-errordisplay

Code Inc.'s error display library

  Sources   Download

MIT

The Requires

  • php >=7.1

 

The Development Requires

02/03 2018

1.1.2

1.1.2.0 https://github.com/codeinchq/lib-errordisplay

Code Inc.'s error display library

  Sources   Download

MIT

The Requires

  • php >=7.1

 

The Development Requires

01/03 2018

1.1.1

1.1.1.0 https://github.com/codeinchq/lib-errordisplay

Code Inc.'s error display library

  Sources   Download

MIT

The Requires

  • php >=7.1

 

The Development Requires

19/02 2018

1.1.0

1.1.0.0 https://github.com/codeinchq/lib-errordisplay

Code Inc.'s error display library

  Sources   Download

MIT

The Requires

  • php >=7.2

 

The Development Requires

12/02 2018

1.0.13

1.0.13.0 https://github.com/codeinchq/lib-errordisplay

Code Inc.'s error display library

  Sources   Download

MIT

The Requires

 

25/01 2018

1.0.12

1.0.12.0 https://github.com/codeinchq/lib-errordisplay

Code Inc.'s error display library

  Sources   Download

MIT

The Requires

 

23/01 2018

1.0.11

1.0.11.0 https://github.com/codeinchq/lib-errordisplay

Code Inc.'s error display library

  Sources   Download

MIT

The Requires

 

10/01 2018

1.0.10

1.0.10.0 https://github.com/codeinchq/lib-errordisplay

Code Inc.'s error display library

  Sources   Download

MIT

The Requires

 

08/01 2018

1.0.9

1.0.9.0 https://github.com/codeinchq/lib-errordisplay

Code Inc.'s error display library

  Sources   Download

MIT

The Requires

 

20/12 2017

1.0.8

1.0.8.0 https://github.com/codeinchq/lib-errordisplay

Code Inc.'s error display library

  Sources   Download

MIT

The Requires

 

19/12 2017

1.0.7

1.0.7.0 https://github.com/codeinchq/lib-errordisplay

Code Inc.'s exception display library

  Sources   Download

proprietary

The Requires

 

19/12 2017

1.0.6

1.0.6.0 https://github.com/codeinchq/lib-errordisplay

Code Inc.'s exception display library

  Sources   Download

proprietary

The Requires

 

19/12 2017

1.0.5

1.0.5.0 https://github.com/codeinchq/lib-errordisplay

Code Inc.'s exception display library

  Sources   Download

proprietary

The Requires

 

19/12 2017

1.0.4

1.0.4.0 https://github.com/codeinchq/lib-errordisplay

Code Inc.'s exception display library

  Sources   Download

proprietary

The Requires

 

19/12 2017

1.0.3

1.0.3.0 https://github.com/codeinchq/lib-errordisplay

Code Inc.'s exception display library

  Sources   Download

proprietary

The Requires

 

19/12 2017

1.0.2

1.0.2.0 https://github.com/codeinchq/lib-exceptiondisplay

Code Inc.'s exception display library

  Sources   Download

proprietary

The Requires

 

19/12 2017

1.0.1

1.0.1.0 https://github.com/codeinchq/lib-exceptiondisplay

Code Inc.'s exception display library

  Sources   Download

proprietary

The Requires

 

15/12 2017

1.0.0

1.0.0.0 https://github.com/codeinchq/lib-exceptiondisplay

Code Inc.'s exception display library

  Sources   Download

proprietary

The Requires