2017 © Pedro Peláez
 

library zf-snap-php-error

PHP Error module for Zend Framework 2

image

snapshotpl/zf-snap-php-error

PHP Error module for Zend Framework 2

  • Thursday, February 27, 2014
  • by snapshotpl
  • Repository
  • 1 Watchers
  • 7 Stars
  • 37 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

ZfSnapPhpError

PHP Error module for Zend Framework 2, (*1)

Version 1.0.0 Created by Witold Wasiczko, (*2)

Better Error Message, (*3)

Usage

Just install module via composer and use all features of PHP-Error project!, (*4)

ZfSnapPhpError uses forked version of PHP-Error with new features and bug-fixes., (*5)

How to install?

By composer.json, (*6)

{
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/snapshotpl/PHP-Error"
        }
    ],
    "require": {
        "snapshotpl/zf-snap-php-error": "1.*"
    }
}

run composer update and add module ZfSnapPhpError to ZF2 application.config.php, (*7)

Features

  • All PHP-Error features
    • Catch php errors,
    • Catch php exceptions,
    • Works with ajax requests!
    • and more...!
  • Ready to use - just install via composer.json!
  • easy configurable via module config,
  • additional info about ZF2 application on error page:
    • service_manager,
    • modules,
    • current route,
  • access to \php_error\ErrorHandler object by service manager (key phperror)

Better Error Message, (*8)

How to config?

Overwrite module config:, (*9)

<?php

return array(
    'php-error' => array(
        'enabled' => true,
        'options' => array(),
    ),
);
  • set enabled to false to disabled PHP-Error
  • set options of PHP-Error (more info here)

The Versions

27/02 2014

dev-master

9999999-dev

PHP Error module for Zend Framework 2

  Sources   Download

The Requires

 

debug zf2 zend framework exception zend framework 2 error php-error

25/02 2014

1.0.0

1.0.0.0

PHP Error module for Zend Framework 2

  Sources   Download

The Requires

 

debug zf2 zend framework exception zend framework 2 error php-error

12/11 2013

0.9.0

0.9.0.0

PHP Error module for Zend Framework 2

  Sources   Download

The Requires

 

debug zf2 zend framework exception zend framework 2 error php-error

11/11 2013

0.9.9

0.9.9.0

PHP Error module for Zend Framework 2

  Sources   Download

The Requires

 

debug zf2 zend framework exception zend framework 2 error php-error