Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

Use whoops in phalcon 3

I like this component, but I can not make it work in Phalcon 3. Does anyone has done work?

whoops

https://github.com/filp/whoops https://github.com/whoops-php/phalcon



15.8k
Accepted
answer

composer:

    "filp/whoops": "^2.1",
    "whoops/phalcon": "^2.0"

index.php

    if (ENVIRONMENT == 'development') {
        new Whoops\Provider\Phalcon\WhoopsServiceProvider($di);
    }