Download the PHP package bkrukowski/error-dumper without Composer

On this page you can find all versions of the php package bkrukowski/error-dumper. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package error-dumper

Build Status Coverage Status Codacy Badge

Pretty error dumper for PHP

ErrorDumper has been moved to awesomite/error-dumper, please use new repository.

Requirements

Tests

100% code coverage with PHPUnit.

Installation

If you use composer

Add bkrukowski/error-dumper to dependencies.

In other cases

Add below code to project:

Usage

[Unsafe] Below code is enough:

[Safe] But you should write something like this (because all variables like credentials are visible, when exception or error occur)

Editors

Numbers of lines and names of files are clickable, but you have to set proper editor. Default editor is PhpStorm. If you use something else, put edtor object as argument in registerErrorDumper method.

Supported editors

Snapshots

Using below code, you can save exception somewhere and display it later:

Adding custom information to snapshots

From version 2.3.0 there is special constant ErrorDumper\Dumpers\Html::TAG_UNDER_TITLE. You can put under title whatever you want using str_replace function.

Handle only exceptions

You can choose type of errors to handling. Methods

have optional argument $errorTypes, default is equal ErrorDumper\Handlers\RegisterErrorHandler::TYPE_ALL. This value is equal result of binary multiplication of constants ErrorDumper\Handlers\RegisterErrorHandler::TYPE_*. If you want handle only errors, you should put here ErrorDumper\Handlers\RegisterErrorHandler::TYPE_ERRORS | ErrorDumper\Handlers\RegisterErrorHandler::TYPE_SHUTDOWN_ERRORS.

Preview

Error

Arguments


All versions of error-dumper with dependencies

PHP Build Version
Package Version
Requires php Version ^5.3 || ^7.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package bkrukowski/error-dumper contains the following files

Loading the files please wait ....