| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:c3470142-03f8-e98e-dbc3-1c6f94fb35f0 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B48A:7A6A8:9BC1F:E40ED:6A61D088 |
| html-safe-nonce | 2e0fede61c090c9b9d8bf4794128a1863301585357625aec47a7d11bdf6e35e7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNDhBOjdBNkE4OjlCQzFGOkU0MEVEOjZBNjFEMDg4IiwidmlzaXRvcl9pZCI6IjkzMTM1MjU1ODAzMDk4NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 55a047e5f0b764f29f98742c9683e9a19da52e337d86bfe08e2ff16aad38e5b3 |
| hovercard-subject-tag | pull_request:182302834 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/php-middleware/phpdebugbar/21/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/35b4a99fa9bf3c5263dcae841f3d7bb0aa1e31830dba4aba9e175f89fc088df1/php-middleware/phpdebugbar/pull/21 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/35b4a99fa9bf3c5263dcae841f3d7bb0aa1e31830dba4aba9e175f89fc088df1/php-middleware/phpdebugbar/pull/21 |
| og:image:alt | Alternative fix for #19 #8 and #18 .
This PR allow to force disable or enable PHP Debug Bar using headers, cookies or server request attributes. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | snapshotpl |
| hostname | github.com |
| expected-hostname | github.com |
| None | b2de8c74e5e61e893155ba46ee41bc66170c1644cb795adefa8386d490f7781c |
| turbo-cache-control | no-cache |
| go-import | github.com/php-middleware/phpdebugbar git https://github.com/php-middleware/phpdebugbar.git |
| octolytics-dimension-user_id | 14027208 |
| octolytics-dimension-user_login | php-middleware |
| octolytics-dimension-repository_id | 41689868 |
| octolytics-dimension-repository_nwo | php-middleware/phpdebugbar |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 41689868 |
| octolytics-dimension-repository_network_root_nwo | php-middleware/phpdebugbar |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | d1866027ded575df8a15c731dd8b9986c9483ceb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/php-middleware/phpdebugbar/pull/21#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphp-middleware%2Fphpdebugbar%2Fpull%2F21 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| Code QualityEnforce quality at merge | https://github.com/features/code-quality |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphp-middleware%2Fphpdebugbar%2Fpull%2F21 |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=php-middleware%2Fphpdebugbar |
| Reload | https://github.com/php-middleware/phpdebugbar/pull/21 |
| Reload | https://github.com/php-middleware/phpdebugbar/pull/21 |
| Reload | https://github.com/php-middleware/phpdebugbar/pull/21 |
| Please reload this page | https://github.com/php-middleware/phpdebugbar/pull/21 |
|
php-middleware
| https://github.com/php-middleware |
| phpdebugbar | https://github.com/php-middleware/phpdebugbar |
|
Notifications
| https://github.com/login?return_to=%2Fphp-middleware%2Fphpdebugbar |
|
Fork
19
| https://github.com/login?return_to=%2Fphp-middleware%2Fphpdebugbar |
|
Star
77
| https://github.com/login?return_to=%2Fphp-middleware%2Fphpdebugbar |
|
Code
| https://github.com/php-middleware/phpdebugbar |
|
Issues
5
| https://github.com/php-middleware/phpdebugbar/issues |
|
Pull requests
1
| https://github.com/php-middleware/phpdebugbar/pulls |
|
Actions
| https://github.com/php-middleware/phpdebugbar/actions |
|
Projects
| https://github.com/php-middleware/phpdebugbar/projects |
|
Wiki
| https://github.com/php-middleware/phpdebugbar/wiki |
|
Security and quality
0
| https://github.com/php-middleware/phpdebugbar/security |
|
Insights
| https://github.com/php-middleware/phpdebugbar/pulse |
|
Code
| https://github.com/php-middleware/phpdebugbar |
|
Issues
| https://github.com/php-middleware/phpdebugbar/issues |
|
Pull requests
| https://github.com/php-middleware/phpdebugbar/pulls |
|
Actions
| https://github.com/php-middleware/phpdebugbar/actions |
|
Projects
| https://github.com/php-middleware/phpdebugbar/projects |
|
Wiki
| https://github.com/php-middleware/phpdebugbar/wiki |
|
Security and quality
| https://github.com/php-middleware/phpdebugbar/security |
|
Insights
| https://github.com/php-middleware/phpdebugbar/pulse |
| snapshotpl | https://github.com/snapshotpl |
| master | https://github.com/php-middleware/phpdebugbar/tree/master |
| disable-enable-bar | https://github.com/php-middleware/phpdebugbar/tree/disable-enable-bar |
| Conversation | https://github.com/php-middleware/phpdebugbar/pull/21 |
| Commits12 (12) | https://github.com/php-middleware/phpdebugbar/pull/21/commits |
| Checks | https://github.com/php-middleware/phpdebugbar/pull/21/checks |
| Files changed | https://github.com/php-middleware/phpdebugbar/pull/21/files |
| Disable and enable debug bar | https://github.com/php-middleware/phpdebugbar/pull/21#top |
| snapshotpl | https://github.com/snapshotpl |
| master | https://github.com/php-middleware/phpdebugbar/tree/master |
| disable-enable-bar | https://github.com/php-middleware/phpdebugbar/tree/disable-enable-bar |
|
| https://github.com/snapshotpl |
| snapshotpl | https://github.com/snapshotpl |
| Apr 17, 2018 | https://github.com/php-middleware/phpdebugbar/pull/21#issue-315240799 |
| Please reload this page | https://github.com/php-middleware/phpdebugbar/pull/21 |
| #19 | https://github.com/php-middleware/phpdebugbar/pull/19 |
| #8 | https://github.com/php-middleware/phpdebugbar/pull/8 |
| #18 | https://github.com/php-middleware/phpdebugbar/issues/18 |
| Please reload this page | https://github.com/php-middleware/phpdebugbar/pull/21 |
| snapshotpl | https://github.com/snapshotpl |
| April 17, 2018 23:22 | https://github.com/php-middleware/phpdebugbar/pull/21#commits-pushed-6f5d5d5 |
|
| https://github.com/snapshotpl |
| Disable and enable debug bar using header | https://github.com/php-middleware/phpdebugbar/pull/21/commits/6f5d5d5b53d258bc1ded793bbb98c2f8c680d420 |
| 6f5d5d5 | https://github.com/php-middleware/phpdebugbar/pull/21/commits/6f5d5d5b53d258bc1ded793bbb98c2f8c680d420 |
|
| https://github.com/snapshotpl |
| Use const to get header name | https://github.com/php-middleware/phpdebugbar/pull/21/commits/eb2cb2d54e59b157d2d508559781150fe4f19336 |
| eb2cb2d | https://github.com/php-middleware/phpdebugbar/pull/21/commits/eb2cb2d54e59b157d2d508559781150fe4f19336 |
|
| https://github.com/snapshotpl |
| Force disable / enable by cookie | https://github.com/php-middleware/phpdebugbar/pull/21/commits/1e9dc620a4c401b487fd80356dce0763557130a1 |
| 1e9dc62 | https://github.com/php-middleware/phpdebugbar/pull/21/commits/1e9dc620a4c401b487fd80356dce0763557130a1 |
|
| https://github.com/snapshotpl |
| Add readme | https://github.com/php-middleware/phpdebugbar/pull/21/commits/43242c57bd6d115fd421c578fcd1100dd0ec57ce |
| 43242c5 | https://github.com/php-middleware/phpdebugbar/pull/21/commits/43242c57bd6d115fd421c578fcd1100dd0ec57ce |
|
| https://github.com/snapshotpl |
| Allow to disable/enable using attribute | https://github.com/php-middleware/phpdebugbar/pull/21/commits/c34401409d9967ba4982d396e832c15417714869 |
| c344014 | https://github.com/php-middleware/phpdebugbar/pull/21/commits/c34401409d9967ba4982d396e832c15417714869 |
|
| https://github.com/snapshotpl |
| Small refactor | https://github.com/php-middleware/phpdebugbar/pull/21/commits/230d40168b2e4fb063a35e35124c83424a076a75 |
| 230d401 | https://github.com/php-middleware/phpdebugbar/pull/21/commits/230d40168b2e4fb063a35e35124c83424a076a75 |
|
Should not append debugbar to JSONResponse
#18
| https://github.com/php-middleware/phpdebugbar/issues/18 |
|
Handle redirections before creating HTML response
#8
| https://github.com/php-middleware/phpdebugbar/pull/8 |
| https://github.com/snapshotpl |
| snapshotpl | https://github.com/snapshotpl |
|
Apr 25, 2018
| https://github.com/php-middleware/phpdebugbar/pull/21#ref-pullrequest-317125913 |
|
fix middleware on 302 responses
#22
| https://github.com/php-middleware/phpdebugbar/pull/22 |
| https://github.com/prolic |
| prolic | https://github.com/prolic |
|
Apr 25, 2018
| https://github.com/php-middleware/phpdebugbar/pull/21#pullrequestreview-115183562 |
|
View reviewed changes
| https://github.com/php-middleware/phpdebugbar/pull/21/files/230d40168b2e4fb063a35e35124c83424a076a75 |
| src/PhpDebugBarMiddleware.php | https://github.com/php-middleware/phpdebugbar/pull/21/files/230d40168b2e4fb063a35e35124c83424a076a75#diff-d38cd19aeafa0ed2c0c27e7515474c4a53c8d58bfdb07f56bbbd442ae42e24d5 |
| prolic | https://github.com/prolic |
| Apr 25, 2018 | https://github.com/php-middleware/phpdebugbar/pull/21#discussion_r184064949 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/php-middleware/phpdebugbar/pull/21 |
| prolic | https://github.com/prolic |
| Apr 25, 2018 | https://github.com/php-middleware/phpdebugbar/pull/21#discussion_r184065320 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/php-middleware/phpdebugbar/pull/21 |
| snapshotpl | https://github.com/snapshotpl |
| Apr 25, 2018 | https://github.com/php-middleware/phpdebugbar/pull/21#discussion_r184069985 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/php-middleware/phpdebugbar/pull/21 |
| prolic | https://github.com/prolic |
| Apr 25, 2018 | https://github.com/php-middleware/phpdebugbar/pull/21#discussion_r184070574 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/php-middleware/phpdebugbar/pull/21 |
| src/PhpDebugBarMiddleware.php | https://github.com/php-middleware/phpdebugbar/pull/21/files/230d40168b2e4fb063a35e35124c83424a076a75#diff-d38cd19aeafa0ed2c0c27e7515474c4a53c8d58bfdb07f56bbbd442ae42e24d5 |
| prolic | https://github.com/prolic |
| Apr 25, 2018 | https://github.com/php-middleware/phpdebugbar/pull/21#discussion_r184065086 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/php-middleware/phpdebugbar/pull/21 |
| src/PhpDebugBarMiddleware.php | https://github.com/php-middleware/phpdebugbar/pull/21/files/230d40168b2e4fb063a35e35124c83424a076a75#diff-d38cd19aeafa0ed2c0c27e7515474c4a53c8d58bfdb07f56bbbd442ae42e24d5 |
| prolic | https://github.com/prolic |
| Apr 25, 2018 | https://github.com/php-middleware/phpdebugbar/pull/21#discussion_r184065766 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/php-middleware/phpdebugbar/pull/21 |
| snapshotpl | https://github.com/snapshotpl |
| Apr 25, 2018 | https://github.com/php-middleware/phpdebugbar/pull/21#discussion_r184068890 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| https://developer.mozilla.org/en-US/docs/Web/HTTP/Redirections | https://developer.mozilla.org/en-US/docs/Web/HTTP/Redirections |
| Please reload this page | https://github.com/php-middleware/phpdebugbar/pull/21 |
| prolic | https://github.com/prolic |
| Apr 25, 2018 | https://github.com/php-middleware/phpdebugbar/pull/21#discussion_r184071059 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/php-middleware/phpdebugbar/pull/21 |
| snapshotpl | https://github.com/snapshotpl |
| April 25, 2018 23:47 | https://github.com/php-middleware/phpdebugbar/pull/21#commits-pushed-bb59bfe |
|
| https://github.com/snapshotpl |
| Cr fixes | https://github.com/php-middleware/phpdebugbar/pull/21/commits/bb59bfe9642e29b9f9e677379e6cc0c44c86d670 |
| bb59bfe | https://github.com/php-middleware/phpdebugbar/pull/21/commits/bb59bfe9642e29b9f9e677379e6cc0c44c86d670 |
|
| https://github.com/snapshotpl |
| Update readme | https://github.com/php-middleware/phpdebugbar/pull/21/commits/c25e703be0a5d02d1822f8d62960dad2b9ae8d5d |
| c25e703 | https://github.com/php-middleware/phpdebugbar/pull/21/commits/c25e703be0a5d02d1822f8d62960dad2b9ae8d5d |
|
| https://github.com/snapshotpl |
| Update readme and test convention | https://github.com/php-middleware/phpdebugbar/pull/21/commits/5bf435c96252763bc71cb79dbd8b3fe9f8e4827b |
| 5bf435c | https://github.com/php-middleware/phpdebugbar/pull/21/commits/5bf435c96252763bc71cb79dbd8b3fe9f8e4827b |
|
| https://github.com/snapshotpl |
| Fix test convention | https://github.com/php-middleware/phpdebugbar/pull/21/commits/d584e06ca02f9f0cd8bac18f405a3f0f866f4c8e |
| d584e06 | https://github.com/php-middleware/phpdebugbar/pull/21/commits/d584e06ca02f9f0cd8bac18f405a3f0f866f4c8e |
|
| https://github.com/snapshotpl |
| Improve code | https://github.com/php-middleware/phpdebugbar/pull/21/commits/d49a687810dfa4a3c21e855f4b58f8f5ca87cda4 |
| d49a687 | https://github.com/php-middleware/phpdebugbar/pull/21/commits/d49a687810dfa4a3c21e855f4b58f8f5ca87cda4 |
|
| https://github.com/snapshotpl |
| Improvements | https://github.com/php-middleware/phpdebugbar/pull/21/commits/3ff0af2811ee24cfd5c1580c9f47a0401d6aa4a3 |
| 3ff0af2 | https://github.com/php-middleware/phpdebugbar/pull/21/commits/3ff0af2811ee24cfd5c1580c9f47a0401d6aa4a3 |
| https://github.com/snapshotpl |
| snapshotpl | https://github.com/snapshotpl |
| Apr 25, 2018 | https://github.com/php-middleware/phpdebugbar/pull/21#issuecomment-384457891 |
| @prolic | https://github.com/prolic |
| Please reload this page | https://github.com/php-middleware/phpdebugbar/pull/21 |
| https://github.com/prolic |
| prolic | https://github.com/prolic |
|
Apr 26, 2018
| https://github.com/php-middleware/phpdebugbar/pull/21#pullrequestreview-115483061 |
|
View reviewed changes
| https://github.com/php-middleware/phpdebugbar/pull/21/files/3ff0af2811ee24cfd5c1580c9f47a0401d6aa4a3 |
| prolic | https://github.com/prolic |
| https://github.com/php-middleware/phpdebugbar/pull/21#pullrequestreview-115483061 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/php-middleware/phpdebugbar/pull/21 |
| https://github.com/snapshotpl |
| snapshotpl | https://github.com/snapshotpl |
| 6c2c461 | https://github.com/php-middleware/phpdebugbar/commit/6c2c461b726d36fdbb16498e3d3577948275865c |
| Apr 26, 2018 | https://github.com/php-middleware/phpdebugbar/pull/21#event-1596259447 |
| https://github.com/snapshotpl |
| snapshotpl | https://github.com/snapshotpl |
| February 22, 2022 13:05 | https://github.com/php-middleware/phpdebugbar/pull/21#event-6117912183 |
| https://github.co/hiddenchars |
| https://github.com/php-middleware/phpdebugbar/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphp-middleware%2Fphpdebugbar%2Fpull%2F21 |
|
| https://github.com/prolic |
|
prolic
| https://github.com/prolic |
|
| https://github.com/php-middleware/phpdebugbar/pull/21/files/3ff0af2811ee24cfd5c1580c9f47a0401d6aa4a3 |
| Please reload this page | https://github.com/php-middleware/phpdebugbar/pull/21 |
|
| https://github.com/snapshotpl |
|
| https://github.com/prolic |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |