2017 © Pedro PelĂĄez
 

library error-reporting

BitWeb extension for sending errors to email.

image

bitweb/error-reporting

BitWeb extension for sending errors to email.

  • Wednesday, December 28, 2016
  • by tobre
  • Repository
  • 10 Watchers
  • 0 Stars
  • 1,578 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 1 Forks
  • 3 Open issues
  • 12 Versions
  • 2 % Grown

The README.md

error-reporting

Build Status Coverage Status, (*1)

Usage:

Add this to your index.php file, right after autoloading., (*2)

$errorService = new \BitWeb\ErrorReporting\Service\ErrorService(array(
    'errorReportingLevel' => E_ALL,
    'subject' => '[Errors][your-app-id-here]',
    'emails' => array (
        'you@domain.com'
    ),
    'from_address' => 'you@domain.com',
    'ignore404' => false,
    'ignoreBot404' => false,
    'botList' => array(
        'AhrefsBot',
        'bingbot',
        'Ezooms',
        'Googlebot',
        'Mail.RU_Bot',
        'YandexBot',
    ),
    'ignorableExceptions' => array(
        'ErrorException'
    ),
    'ignorablePaths' => array (
        'paths/to/ignore'
    )
));
$errorService->startErrorHandling();

Add this to the last line of your index.php, (*3)

$errorService->endErrorHandling();

Configuration

Name Type Default Description
errorReportingLevel integer E_ALL The level of error reporting.
subject string Errors The subject of the message being sent.
emails array array() An array of emails the error report is sent to.
from_address string '' Address where the message is sent from.
ignore404 boolean false Are 404 errors ignored?
ignoreBot404 boolean false Are bot 404 errors ignored?
botList array array() Defines bots.
ignorableExceptions array array('ErrorException') Exceptions to ignore.
ignorablePaths array array() Paths to ignore.

The Versions

28/12 2016

dev-master

9999999-dev http://bitweb.ee/

BitWeb extension for sending errors to email.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Rain Ramm
by Priit Rand
by Erich JagomÀgis

28/12 2016

1.1.1

1.1.1.0 http://bitweb.ee/

BitWeb extension for sending errors to email.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Rain Ramm
by Priit Rand
by Erich JagomÀgis

28/12 2016

1.1.0

1.1.0.0 http://bitweb.ee/

BitWeb extension for sending errors to email.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Rain Ramm
by Priit Rand
by Erich JagomÀgis

07/08 2015

1.0.6

1.0.6.0 http://bitweb.ee/

BitWeb extension for sending errors to email.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Rain Ramm
by Priit Rand
by Erich JagomÀgis

07/08 2015

dev-php54

dev-php54 http://bitweb.ee/

BitWeb extension for sending errors to email.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Rain Ramm
by Priit Rand
by Erich JagomÀgis

17/11 2014

1.0.5

1.0.5.0 http://bitweb.ee/

BitWeb extension for sending errors to email.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Rain Ramm
by Priit Rand
by Erich JagomÀgis

17/11 2014

dev-development

dev-development http://bitweb.ee/

BitWeb extension for sending errors to email.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Rain Ramm
by Priit Rand
by Erich JagomÀgis

20/10 2014

1.0.4

1.0.4.0 http://bitweb.ee/

BitWeb extension for sending errors to email.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Rain Ramm
by Priit Rand
by Erich JagomÀgis

16/10 2014

1.0.3

1.0.3.0 http://bitweb.ee/

BitWeb extension for sending errors to email.

  Sources   Download

proprietary

The Requires

 

The Development Requires

by Rain Ramm
by Priit Rand
by Erich JagomÀgis

26/06 2014

1.0.2

1.0.2.0 http://bitweb.ee/

BitWeb extension for sending errors to email.

  Sources   Download

proprietary

The Requires

 

The Development Requires

by Rain Ramm
by Priit Rand
by Erich JagomÀgis

06/05 2014

1.0.1

1.0.1.0 http://bitweb.ee/

BitWeb extension for sending errors to email.

  Sources   Download

proprietary

The Requires

 

The Development Requires

by Rain Ramm
by Priit Rand
by Erich JagomÀgis

04/04 2014

1.0.0

1.0.0.0 http://bitweb.ee/

BitWeb extension for sending errors to email.

  Sources   Download

proprietary

The Requires

 

by Rain Ramm
by Priit Rand
by Erich JagomÀgis