Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Idea: Cookbook #693

Closed
jbnv opened this issue Apr 6, 2021 · 2 comments
Closed

Idea: Cookbook #693

jbnv opened this issue Apr 6, 2021 · 2 comments

Comments

@jbnv
Copy link

jbnv commented Apr 6, 2021

There don't seem to be any practical examples of how to use the functionality of Whoops in the documentation. I've had to spend a significant amount of time making sense of the inspector/frame functionality, and I'm still struggling in figuring out how to do something practical with it.

@denis-sokolov
Copy link
Collaborator

Frankly, the absolute majority of users use our snippet with the PrettyPageHandler and that’s it. If I were to rebuild Whoops from scratch, I think it could maybe be just that to begin with. ¯\_(ツ)_/¯

$whoops = new \Whoops\Run;
$whoops->pushHandler(new \Whoops\Handler\PrettyPageHandler);
$whoops->register();

@alexkuc
Copy link

alexkuc commented Aug 13, 2021

Maybe README.md was updated since this issue was opened. There is now #installing section available on homepage and there is examples/ directory with some examples.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants