2017 © Pedro PelĂĄez
 

library error-renderer

Code Inc.'s error display library

image

codeinc/error-renderer

Code Inc.'s error display library

  • Thursday, July 26, 2018
  • by joanfabregat
  • Repository
  • 1 Watchers
  • 0 Stars
  • 47 Installations
  • PHP
  • 5 Dependents
  • 2 Suggesters
  • 0 Forks
  • 0 Open issues
  • 33 Versions
  • 57 % 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

26/07 2018

dev-master

9999999-dev https://github.com/CodeIncHQ/ErrorRenderer

Code Inc.'s error display library

  Sources   Download

MIT

The Requires

 

The Development Requires

26/07 2018

1.x-dev

1.9999999.9999999.9999999-dev https://github.com/CodeIncHQ/ErrorRenderer

Code Inc.'s error display library

  Sources   Download

MIT

The Requires

 

The Development Requires

26/07 2018

1.3.6

1.3.6.0 https://github.com/CodeIncHQ/ErrorRenderer

Code Inc.'s error display library

  Sources   Download

MIT

The Requires

 

The Development Requires

02/07 2018

1.3.5

1.3.5.0 https://github.com/CodeIncHQ/ErrorRenderer

Code Inc.'s error display library

  Sources   Download

MIT

The Requires

 

The Development Requires

21/06 2018

1.3.4

1.3.4.0 https://github.com/CodeIncHQ/ErrorRenderer

Code Inc.'s error display library

  Sources   Download

MIT

The Requires

 

The Development Requires

20/06 2018

1.3.3

1.3.3.0 https://github.com/CodeIncHQ/ErrorRenderer

Code Inc.'s error display library

  Sources   Download

MIT

The Requires

 

The Development Requires

18/06 2018

1.3.2

1.3.2.0 https://github.com/CodeIncHQ/ErrorRenderer

Code Inc.'s error display library

  Sources   Download

MIT

The Requires

  • php >=7.1

 

The Development Requires

18/06 2018

1.3.2-beta.2

1.3.2.0-beta2 https://github.com/CodeIncHQ/ErrorRenderer

Code Inc.'s error display library

  Sources   Download

MIT

The Requires

  • php >=7.1

 

The Development Requires

18/06 2018

1.3.2-beta.1

1.3.2.0-beta1 https://github.com/CodeIncHQ/ErrorRenderer

Code Inc.'s error display library

  Sources   Download

MIT

The Requires

  • php >=7.1

 

The Development Requires

15/06 2018

1.3.1

1.3.1.0 https://github.com/CodeIncHQ/ErrorRenderer

Code Inc.'s error display library

  Sources   Download

MIT

The Requires

  • php >=7.1

 

The Development Requires

15/06 2018

1.3.0

1.3.0.0 https://github.com/CodeIncHQ/ErrorRenderer

Code Inc.'s error display library

  Sources   Download

MIT

The Requires

  • php >=7.1

 

The Development Requires

14/03 2018

1.2.2

1.2.2.0 https://github.com/CodeIncHQ/ErrorRenderer

Code Inc.'s error display library

  Sources   Download

MIT

The Requires

  • php >=7.1

 

The Development Requires

14/03 2018

1.2.1

1.2.1.0 https://github.com/CodeIncHQ/ErrorRenderer

Code Inc.'s error display library

  Sources   Download

MIT

The Requires

  • php >=7.1

 

The Development Requires

13/03 2018

1.2.0

1.2.0.0 https://github.com/CodeIncHQ/ErrorRenderer

Code Inc.'s error display library

  Sources   Download

MIT

The Requires

  • php >=7.1

 

The Development Requires

08/03 2018

1.1.4

1.1.4.0 https://github.com/CodeIncHQ/lib-errordisplay

Code Inc.'s error display library

  Sources   Download

MIT

The Requires

  • php >=7.1

 

The Development Requires

08/03 2018

1.1.3

1.1.3.0 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