René's URL Explorer Experiment


Title: Disable and enable debug bar by snapshotpl · Pull Request #21 · php-middleware/phpdebugbar · GitHub

Open Graph Title: Disable and enable debug bar by snapshotpl · Pull Request #21 · php-middleware/phpdebugbar

X Title: Disable and enable debug bar by snapshotpl · Pull Request #21 · php-middleware/phpdebugbar

Description: PSR-15 middleware for PHP Debug bar. Contribute to php-middleware/phpdebugbar development by creating an account on GitHub.

Open Graph Description: 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.

X Description: 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.

Opengraph URL: https://github.com/php-middleware/phpdebugbar/pull/21

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:c3470142-03f8-e98e-dbc3-1c6f94fb35f0
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB48A:7A6A8:9BC1F:E40ED:6A61D088
html-safe-nonce2e0fede61c090c9b9d8bf4794128a1863301585357625aec47a7d11bdf6e35e7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNDhBOjdBNkE4OjlCQzFGOkU0MEVEOjZBNjFEMDg4IiwidmlzaXRvcl9pZCI6IjkzMTM1MjU1ODAzMDk4NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac55a047e5f0b764f29f98742c9683e9a19da52e337d86bfe08e2ff16aad38e5b3
hovercard-subject-tagpull_request:182302834
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/php-middleware/phpdebugbar/21/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/35b4a99fa9bf3c5263dcae841f3d7bb0aa1e31830dba4aba9e175f89fc088df1/php-middleware/phpdebugbar/pull/21
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/35b4a99fa9bf3c5263dcae841f3d7bb0aa1e31830dba4aba9e175f89fc088df1/php-middleware/phpdebugbar/pull/21
og:image:altAlternative 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:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesnapshotpl
hostnamegithub.com
expected-hostnamegithub.com
Noneb2de8c74e5e61e893155ba46ee41bc66170c1644cb795adefa8386d490f7781c
turbo-cache-controlno-cache
go-importgithub.com/php-middleware/phpdebugbar git https://github.com/php-middleware/phpdebugbar.git
octolytics-dimension-user_id14027208
octolytics-dimension-user_loginphp-middleware
octolytics-dimension-repository_id41689868
octolytics-dimension-repository_nwophp-middleware/phpdebugbar
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id41689868
octolytics-dimension-repository_network_root_nwophp-middleware/phpdebugbar
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
released1866027ded575df8a15c731dd8b9986c9483ceb
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://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 AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://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
Reloadhttps://github.com/php-middleware/phpdebugbar/pull/21
Reloadhttps://github.com/php-middleware/phpdebugbar/pull/21
Reloadhttps://github.com/php-middleware/phpdebugbar/pull/21
Please reload this pagehttps://github.com/php-middleware/phpdebugbar/pull/21
php-middleware https://github.com/php-middleware
phpdebugbarhttps://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
snapshotplhttps://github.com/snapshotpl
masterhttps://github.com/php-middleware/phpdebugbar/tree/master
disable-enable-barhttps://github.com/php-middleware/phpdebugbar/tree/disable-enable-bar
Conversationhttps://github.com/php-middleware/phpdebugbar/pull/21
Commits12 (12)https://github.com/php-middleware/phpdebugbar/pull/21/commits
Checkshttps://github.com/php-middleware/phpdebugbar/pull/21/checks
Files changedhttps://github.com/php-middleware/phpdebugbar/pull/21/files
Disable and enable debug barhttps://github.com/php-middleware/phpdebugbar/pull/21#top
snapshotplhttps://github.com/snapshotpl
masterhttps://github.com/php-middleware/phpdebugbar/tree/master
disable-enable-barhttps://github.com/php-middleware/phpdebugbar/tree/disable-enable-bar
https://github.com/snapshotpl
snapshotplhttps://github.com/snapshotpl
Apr 17, 2018https://github.com/php-middleware/phpdebugbar/pull/21#issue-315240799
Please reload this pagehttps://github.com/php-middleware/phpdebugbar/pull/21
#19https://github.com/php-middleware/phpdebugbar/pull/19
#8https://github.com/php-middleware/phpdebugbar/pull/8
#18https://github.com/php-middleware/phpdebugbar/issues/18
Please reload this pagehttps://github.com/php-middleware/phpdebugbar/pull/21
snapshotplhttps://github.com/snapshotpl
April 17, 2018 23:22https://github.com/php-middleware/phpdebugbar/pull/21#commits-pushed-6f5d5d5
https://github.com/snapshotpl
Disable and enable debug bar using headerhttps://github.com/php-middleware/phpdebugbar/pull/21/commits/6f5d5d5b53d258bc1ded793bbb98c2f8c680d420
6f5d5d5https://github.com/php-middleware/phpdebugbar/pull/21/commits/6f5d5d5b53d258bc1ded793bbb98c2f8c680d420
https://github.com/snapshotpl
Use const to get header namehttps://github.com/php-middleware/phpdebugbar/pull/21/commits/eb2cb2d54e59b157d2d508559781150fe4f19336
eb2cb2dhttps://github.com/php-middleware/phpdebugbar/pull/21/commits/eb2cb2d54e59b157d2d508559781150fe4f19336
https://github.com/snapshotpl
Force disable / enable by cookiehttps://github.com/php-middleware/phpdebugbar/pull/21/commits/1e9dc620a4c401b487fd80356dce0763557130a1
1e9dc62https://github.com/php-middleware/phpdebugbar/pull/21/commits/1e9dc620a4c401b487fd80356dce0763557130a1
https://github.com/snapshotpl
Add readmehttps://github.com/php-middleware/phpdebugbar/pull/21/commits/43242c57bd6d115fd421c578fcd1100dd0ec57ce
43242c5https://github.com/php-middleware/phpdebugbar/pull/21/commits/43242c57bd6d115fd421c578fcd1100dd0ec57ce
https://github.com/snapshotpl
Allow to disable/enable using attributehttps://github.com/php-middleware/phpdebugbar/pull/21/commits/c34401409d9967ba4982d396e832c15417714869
c344014https://github.com/php-middleware/phpdebugbar/pull/21/commits/c34401409d9967ba4982d396e832c15417714869
https://github.com/snapshotpl
Small refactorhttps://github.com/php-middleware/phpdebugbar/pull/21/commits/230d40168b2e4fb063a35e35124c83424a076a75
230d401https://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
snapshotplhttps://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
prolichttps://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.phphttps://github.com/php-middleware/phpdebugbar/pull/21/files/230d40168b2e4fb063a35e35124c83424a076a75#diff-d38cd19aeafa0ed2c0c27e7515474c4a53c8d58bfdb07f56bbbd442ae42e24d5
prolichttps://github.com/prolic
Apr 25, 2018https://github.com/php-middleware/phpdebugbar/pull/21#discussion_r184064949
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/php-middleware/phpdebugbar/pull/21
prolichttps://github.com/prolic
Apr 25, 2018https://github.com/php-middleware/phpdebugbar/pull/21#discussion_r184065320
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/php-middleware/phpdebugbar/pull/21
snapshotplhttps://github.com/snapshotpl
Apr 25, 2018https://github.com/php-middleware/phpdebugbar/pull/21#discussion_r184069985
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/php-middleware/phpdebugbar/pull/21
prolichttps://github.com/prolic
Apr 25, 2018https://github.com/php-middleware/phpdebugbar/pull/21#discussion_r184070574
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/php-middleware/phpdebugbar/pull/21
src/PhpDebugBarMiddleware.phphttps://github.com/php-middleware/phpdebugbar/pull/21/files/230d40168b2e4fb063a35e35124c83424a076a75#diff-d38cd19aeafa0ed2c0c27e7515474c4a53c8d58bfdb07f56bbbd442ae42e24d5
prolichttps://github.com/prolic
Apr 25, 2018https://github.com/php-middleware/phpdebugbar/pull/21#discussion_r184065086
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/php-middleware/phpdebugbar/pull/21
src/PhpDebugBarMiddleware.phphttps://github.com/php-middleware/phpdebugbar/pull/21/files/230d40168b2e4fb063a35e35124c83424a076a75#diff-d38cd19aeafa0ed2c0c27e7515474c4a53c8d58bfdb07f56bbbd442ae42e24d5
prolichttps://github.com/prolic
Apr 25, 2018https://github.com/php-middleware/phpdebugbar/pull/21#discussion_r184065766
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/php-middleware/phpdebugbar/pull/21
snapshotplhttps://github.com/snapshotpl
Apr 25, 2018https://github.com/php-middleware/phpdebugbar/pull/21#discussion_r184068890
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://developer.mozilla.org/en-US/docs/Web/HTTP/Redirectionshttps://developer.mozilla.org/en-US/docs/Web/HTTP/Redirections
Please reload this pagehttps://github.com/php-middleware/phpdebugbar/pull/21
prolichttps://github.com/prolic
Apr 25, 2018https://github.com/php-middleware/phpdebugbar/pull/21#discussion_r184071059
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/php-middleware/phpdebugbar/pull/21
snapshotplhttps://github.com/snapshotpl
April 25, 2018 23:47https://github.com/php-middleware/phpdebugbar/pull/21#commits-pushed-bb59bfe
https://github.com/snapshotpl
Cr fixeshttps://github.com/php-middleware/phpdebugbar/pull/21/commits/bb59bfe9642e29b9f9e677379e6cc0c44c86d670
bb59bfehttps://github.com/php-middleware/phpdebugbar/pull/21/commits/bb59bfe9642e29b9f9e677379e6cc0c44c86d670
https://github.com/snapshotpl
Update readmehttps://github.com/php-middleware/phpdebugbar/pull/21/commits/c25e703be0a5d02d1822f8d62960dad2b9ae8d5d
c25e703https://github.com/php-middleware/phpdebugbar/pull/21/commits/c25e703be0a5d02d1822f8d62960dad2b9ae8d5d
https://github.com/snapshotpl
Update readme and test conventionhttps://github.com/php-middleware/phpdebugbar/pull/21/commits/5bf435c96252763bc71cb79dbd8b3fe9f8e4827b
5bf435chttps://github.com/php-middleware/phpdebugbar/pull/21/commits/5bf435c96252763bc71cb79dbd8b3fe9f8e4827b
https://github.com/snapshotpl
Fix test conventionhttps://github.com/php-middleware/phpdebugbar/pull/21/commits/d584e06ca02f9f0cd8bac18f405a3f0f866f4c8e
d584e06https://github.com/php-middleware/phpdebugbar/pull/21/commits/d584e06ca02f9f0cd8bac18f405a3f0f866f4c8e
https://github.com/snapshotpl
Improve codehttps://github.com/php-middleware/phpdebugbar/pull/21/commits/d49a687810dfa4a3c21e855f4b58f8f5ca87cda4
d49a687https://github.com/php-middleware/phpdebugbar/pull/21/commits/d49a687810dfa4a3c21e855f4b58f8f5ca87cda4
https://github.com/snapshotpl
Improvementshttps://github.com/php-middleware/phpdebugbar/pull/21/commits/3ff0af2811ee24cfd5c1580c9f47a0401d6aa4a3
3ff0af2https://github.com/php-middleware/phpdebugbar/pull/21/commits/3ff0af2811ee24cfd5c1580c9f47a0401d6aa4a3
https://github.com/snapshotpl
snapshotplhttps://github.com/snapshotpl
Apr 25, 2018https://github.com/php-middleware/phpdebugbar/pull/21#issuecomment-384457891
@prolichttps://github.com/prolic
Please reload this pagehttps://github.com/php-middleware/phpdebugbar/pull/21
https://github.com/prolic
prolichttps://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
prolichttps://github.com/prolic
https://github.com/php-middleware/phpdebugbar/pull/21#pullrequestreview-115483061
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/php-middleware/phpdebugbar/pull/21
https://github.com/snapshotpl
snapshotplhttps://github.com/snapshotpl
6c2c461https://github.com/php-middleware/phpdebugbar/commit/6c2c461b726d36fdbb16498e3d3577948275865c
Apr 26, 2018https://github.com/php-middleware/phpdebugbar/pull/21#event-1596259447
https://github.com/snapshotpl
snapshotplhttps://github.com/snapshotpl
February 22, 2022 13:05https://github.com/php-middleware/phpdebugbar/pull/21#event-6117912183
https://github.co/hiddenchars
https://github.com/php-middleware/phpdebugbar/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://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 pagehttps://github.com/php-middleware/phpdebugbar/pull/21
https://github.com/snapshotpl
https://github.com/prolic
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.