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

PhpDebugBar documentation is outdated. #164

Open
Tyrsson opened this issue Aug 8, 2023 · 1 comment
Open

PhpDebugBar documentation is outdated. #164

Tyrsson opened this issue Aug 8, 2023 · 1 comment
Labels
Bug Something isn't working

Comments

@Tyrsson
Copy link

Tyrsson commented Aug 8, 2023

Bug Report

Documentation bug regarding this page
https://docs.mezzio.dev/mezzio/v3/cookbook/debug-toolbars/#php-middlewarephp-debug-bar

Nearly everything in the tutorial regarding PhpDebugBar is no longer valid.

Reason
Since the tutorial was written the authors have moved to piping the Middleware from a config file with a priority of 1000. As it stands now the code from the tutorial causes it to error (forgive me I can't recall the exact error), I want to say it was a previously registered collector issue.

@Tyrsson Tyrsson added the Bug Something isn't working label Aug 8, 2023
@mostafasy
Copy link

mostafasy commented Aug 21, 2023

hi,
Unfortunately, the package php-middleware/php-debug-bar does not support all features that PHPDebugBar provides. like "ajax call" or ajax that return non html response or the OpenHandler feature,.
I wrote a new package inspired by php-middleware/php-debug-bar to support features like Ajax calls and open handlers. So give it a try and feedback is always welcome.

https://github.com/mostafasy/mezzio-debugbar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants