René's URL Explorer Experiment


Title: Add TreeHelper to complement the TreeBehavior by ADmad · Pull Request #19793 · cakephp/cakephp · GitHub

Open Graph Title: Add TreeHelper to complement the TreeBehavior by ADmad · Pull Request #19793 · cakephp/cakephp

X Title: Add TreeHelper to complement the TreeBehavior by ADmad · Pull Request #19793 · cakephp/cakephp

Description: CakePHP: The Rapid Development Framework for PHP - Official Repository - Add TreeHelper to complement the TreeBehavior by ADmad · Pull Request #19793 · cakephp/cakephp

Opengraph URL: https://github.com/cakephp/cakephp/pull/19793

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
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:9bd8c24b-3f92-b05b-906f-0715a1c6fd5f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDF20:22AF7D:86978:B9C35:6AFD3DE3
html-safe-noncec4ee222a7beec320c51c26ebeaed191bcee2d1703f51c5bbaa8b3fd8c7d43028
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERjIwOjIyQUY3RDo4Njk3ODpCOUMzNTo2QUZEM0RFMyIsInZpc2l0b3JfaWQiOiI4MTE5NzY1MzY1NzE1NDUxMzYzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac9f6a04e18b6c2bc4b53ee990e2f1c5d34fed99c369802fb8524022d4f77fde8c
hovercard-subject-tagpull_request:5263065289
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/cakephp/cakephp/19793/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/8cb22c940c7fea500f99de8d6927f357b9cd8358c9f160b3d8ee91966b13a905/cakephp/cakephp/pull/19793
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/8cb22c940c7fea500f99de8d6927f357b9cd8358c9f160b3d8ee91966b13a905/cakephp/cakephp/pull/19793
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameADmad
hostnamegithub.com
expected-hostnamegithub.com
Nonebdbacc25b921224ff0befcb9e629560a1255be51aec9991d6e3f95b5e9151474
turbo-cache-controlno-cache
go-importgithub.com/cakephp/cakephp git https://github.com/cakephp/cakephp.git
octolytics-dimension-user_id23666
octolytics-dimension-user_logincakephp
octolytics-dimension-repository_id656494
octolytics-dimension-repository_nwocakephp/cakephp
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id656494
octolytics-dimension-repository_network_root_nwocakephp/cakephp
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
release556dd37bb0aceffb25724e151b5d858b3265b40b
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/cakephp/cakephp/pull/19793#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcakephp%2Fcakephp%2Fpull%2F19793
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcakephp%2Fcakephp%2Fpull%2F19793
Sign uphttps://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=cakephp%2Fcakephp
Reloadhttps://github.com/cakephp/cakephp/pull/19793
Reloadhttps://github.com/cakephp/cakephp/pull/19793
Reloadhttps://github.com/cakephp/cakephp/pull/19793
cakephphttps://github.com/cakephp
cakephphttps://github.com/cakephp/cakephp
Codehttps://github.com/cakephp/cakephp
Issues13 (13)https://github.com/cakephp/cakephp/issues
Pull requests16 (16)https://github.com/cakephp/cakephp/pulls
Actionshttps://github.com/cakephp/cakephp/actions
Projectshttps://github.com/cakephp/cakephp/projects
Wikihttps://github.com/cakephp/cakephp/wiki
Security and quality6 (6)https://github.com/cakephp/cakephp/security
Insightshttps://github.com/cakephp/cakephp/insights
https://github.com/cakephp/cakephp
ADmadhttps://github.com/ADmad
5.nexthttps://github.com/cakephp/cakephp/tree/5.next
5.5-tree-helperhttps://github.com/cakephp/cakephp/tree/5.5-tree-helper
Conversationhttps://github.com/cakephp/cakephp/pull/19793
Commits4 (4)https://github.com/cakephp/cakephp/pull/19793/commits
Checkshttps://github.com/cakephp/cakephp/pull/19793/checks
Files changedhttps://github.com/cakephp/cakephp/pull/19793/files
Add TreeHelper to complement the TreeBehaviorhttps://github.com/cakephp/cakephp/pull/19793#top
ADmadhttps://github.com/ADmad
5.nexthttps://github.com/cakephp/cakephp/tree/5.next
5.5-tree-helperhttps://github.com/cakephp/cakephp/tree/5.5-tree-helper
https://github.com/ADmad
ADmadhttps://github.com/ADmad
Nov 11, 2026https://github.com/cakephp/cakephp/pull/19793#issue-6332750354
Please reload this pagehttps://github.com/cakephp/cakephp/pull/19793
https://github.com/ADmad
Add TreeHelper to complement the TreeBehaviorhttps://github.com/cakephp/cakephp/pull/19793/commits/d90f204dbcc3b1f16e5d1526fe073d4e43293122
d90f204https://github.com/cakephp/cakephp/pull/19793/commits/d90f204dbcc3b1f16e5d1526fe073d4e43293122
https://github.com/ADmad
ADmadhttps://github.com/ADmad
5.5.0https://github.com/cakephp/cakephp/milestone/357
Nov 11, 2026https://github.com/cakephp/cakephp/pull/19793#event-35819850828
https://github.com/ADmad
ADmadhttps://github.com/ADmad
dereuromarkhttps://github.com/dereuromark
markstoryhttps://github.com/markstory
November 11, 2026 16:30https://github.com/cakephp/cakephp/pull/19793#event-35819850898
https://github.com/ADmad
ADmadhttps://github.com/ADmad
enhancement https://github.com/cakephp/cakephp/issues?q=state%3Aopen%20label%3Aenhancement
Nov 11, 2026https://github.com/cakephp/cakephp/pull/19793#event-35819853427
https://github.com/ADmad
ADmadhttps://github.com/ADmad
Copilothttps://github.com/apps/copilot-pull-request-reviewer
November 11, 2026 16:32https://github.com/cakephp/cakephp/pull/19793#event-35820040433
started reviewinghttps://github.com/cakephp/cakephp/sessions/edf0f15f-d0b5-435a-b91e-44bf57e88bb2
ADmadhttps://github.com/ADmad
November 11, 2026 16:33https://github.com/cakephp/cakephp/pull/19793#event-35820081685
View session https://github.com/cakephp/cakephp/sessions/edf0f15f-d0b5-435a-b91e-44bf57e88bb2
https://github.com/dereuromark
dereuromarkhttps://github.com/dereuromark
Nov 11, 2026https://github.com/cakephp/cakephp/pull/19793#issuecomment-6801486196
Please reload this pagehttps://github.com/cakephp/cakephp/pull/19793
dereuromark/cakephp-tools/blob/master/src/View/Helper/TreeHelper.phphttps://github.com/dereuromark/cakephp-tools/blob/c92b021e65cee46f91e394d49326cefd946df384/src/View/Helper/TreeHelper.php
Please reload this pagehttps://github.com/cakephp/cakephp/pull/19793
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Nov 11, 2026 https://github.com/cakephp/cakephp/pull/19793#pullrequestreview-5862154004
View reviewed changes https://github.com/cakephp/cakephp/pull/19793/files/d90f204dbcc3b1f16e5d1526fe073d4e43293122
Copilothttps://github.com/apps/copilot-pull-request-reviewer
https://github.com/cakephp/cakephp/pull/19793#pullrequestreview-5862154004
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Escape default alias content before renderinghttps://github.com/cakephp/cakephp/pull/19793#discussion_r4540603398
Escape attribute values before inserting them into HTMLhttps://github.com/cakephp/cakephp/pull/19793#discussion_r4540603453
Normalize iterable keys for flat-tree traversalhttps://github.com/cakephp/cakephp/pull/19793#discussion_r4540603504
Preserve queued list attributes during recursive renderinghttps://github.com/cakephp/cakephp/pull/19793#discussion_r4540603545
Pass the working array to the hideUnrelated callbackhttps://github.com/cakephp/cakephp/pull/19793#discussion_r4540603586
Avoid quadratic sibling lookups when rendering threaded inputhttps://github.com/cakephp/cakephp/pull/19793#discussion_r4540603647
Skip flat-tree descendants beyond maxDepthhttps://github.com/cakephp/cakephp/pull/19793#discussion_r4540603693
Recalculate depth for each flat MPTT rowhttps://github.com/cakephp/cakephp/pull/19793#discussion_r4540603737
Preserve labels with values 0 and '0'https://github.com/cakephp/cakephp/pull/19793#discussion_r4540603782
Split lists only after closing the complete parent itemhttps://github.com/cakephp/cakephp/pull/19793#discussion_r4540603821
Reset the split counter for each renderhttps://github.com/cakephp/cakephp/pull/19793#discussion_r4540603865
Apply the calculated split threshold at the target depthhttps://github.com/cakephp/cakephp/pull/19793#discussion_r4540603902
Serialize array-valued attributes into a stringhttps://github.com/cakephp/cakephp/pull/19793#discussion_r4540603956
Preserve ORM entities for callbacks when hideUnrelated is enabledhttps://github.com/cakephp/cakephp/pull/19793#discussion_r4540604011
Please reload this pagehttps://github.com/cakephp/cakephp/pull/19793
src/View/Helper/TreeHelper.phphttps://github.com/cakephp/cakephp/pull/19793/files/d90f204dbcc3b1f16e5d1526fe073d4e43293122#diff-e2187eb84bb9b96f5fd18b646d3e1d45ff56419643b971a9cc1c7a2bca82d862
Please reload this pagehttps://github.com/cakephp/cakephp/pull/19793
src/View/Helper/TreeHelper.phphttps://github.com/cakephp/cakephp/pull/19793/files/d90f204dbcc3b1f16e5d1526fe073d4e43293122#diff-e2187eb84bb9b96f5fd18b646d3e1d45ff56419643b971a9cc1c7a2bca82d862
Please reload this pagehttps://github.com/cakephp/cakephp/pull/19793
src/View/Helper/TreeHelper.phphttps://github.com/cakephp/cakephp/pull/19793/files/d90f204dbcc3b1f16e5d1526fe073d4e43293122#diff-e2187eb84bb9b96f5fd18b646d3e1d45ff56419643b971a9cc1c7a2bca82d862
Please reload this pagehttps://github.com/cakephp/cakephp/pull/19793
src/View/Helper/TreeHelper.phphttps://github.com/cakephp/cakephp/pull/19793/files/d90f204dbcc3b1f16e5d1526fe073d4e43293122#diff-e2187eb84bb9b96f5fd18b646d3e1d45ff56419643b971a9cc1c7a2bca82d862
Please reload this pagehttps://github.com/cakephp/cakephp/pull/19793
src/View/Helper/TreeHelper.phphttps://github.com/cakephp/cakephp/pull/19793/files/d90f204dbcc3b1f16e5d1526fe073d4e43293122#diff-e2187eb84bb9b96f5fd18b646d3e1d45ff56419643b971a9cc1c7a2bca82d862
Please reload this pagehttps://github.com/cakephp/cakephp/pull/19793
src/View/Helper/TreeHelper.phphttps://github.com/cakephp/cakephp/pull/19793/files/d90f204dbcc3b1f16e5d1526fe073d4e43293122#diff-e2187eb84bb9b96f5fd18b646d3e1d45ff56419643b971a9cc1c7a2bca82d862
Please reload this pagehttps://github.com/cakephp/cakephp/pull/19793
src/View/Helper/TreeHelper.phphttps://github.com/cakephp/cakephp/pull/19793/files/d90f204dbcc3b1f16e5d1526fe073d4e43293122#diff-e2187eb84bb9b96f5fd18b646d3e1d45ff56419643b971a9cc1c7a2bca82d862
Please reload this pagehttps://github.com/cakephp/cakephp/pull/19793
src/View/Helper/TreeHelper.phphttps://github.com/cakephp/cakephp/pull/19793/files/d90f204dbcc3b1f16e5d1526fe073d4e43293122#diff-e2187eb84bb9b96f5fd18b646d3e1d45ff56419643b971a9cc1c7a2bca82d862
Please reload this pagehttps://github.com/cakephp/cakephp/pull/19793
src/View/Helper/TreeHelper.phphttps://github.com/cakephp/cakephp/pull/19793/files/d90f204dbcc3b1f16e5d1526fe073d4e43293122#diff-e2187eb84bb9b96f5fd18b646d3e1d45ff56419643b971a9cc1c7a2bca82d862
Please reload this pagehttps://github.com/cakephp/cakephp/pull/19793
src/View/Helper/TreeHelper.phphttps://github.com/cakephp/cakephp/pull/19793/files/d90f204dbcc3b1f16e5d1526fe073d4e43293122#diff-e2187eb84bb9b96f5fd18b646d3e1d45ff56419643b971a9cc1c7a2bca82d862
Please reload this pagehttps://github.com/cakephp/cakephp/pull/19793
https://github.com/ADmad
ADmadhttps://github.com/ADmad
Nov 11, 2026https://github.com/cakephp/cakephp/pull/19793#issuecomment-6804688440
dereuromark/cakephp-tools/blob/master/src/View/Helper/TreeHelper.phphttps://github.com/dereuromark/cakephp-tools/blob/c92b021e65cee46f91e394d49326cefd946df384/src/View/Helper/TreeHelper.php
@dereuromarkhttps://github.com/dereuromark
Please reload this pagehttps://github.com/cakephp/cakephp/pull/19793
ADmadhttps://github.com/ADmad
November 12, 2026 00:43https://github.com/cakephp/cakephp/pull/19793#commits-pushed-c3018df
https://github.com/ADmad
Refactor TreeHelper for improved attribute handlinghttps://github.com/cakephp/cakephp/pull/19793/commits/c3018df497df4e44df21ddb9773db8a91737aa08
c3018dfhttps://github.com/cakephp/cakephp/pull/19793/commits/c3018df497df4e44df21ddb9773db8a91737aa08
https://github.com/ADmad
Fix CS errorshttps://github.com/cakephp/cakephp/pull/19793/commits/a59ea9fef843fb25fd35fe7efbf8407285c4c915
a59ea9fhttps://github.com/cakephp/cakephp/pull/19793/commits/a59ea9fef843fb25fd35fe7efbf8407285c4c915
https://github.com/ADmad
Fix issues reported by rectorhttps://github.com/cakephp/cakephp/pull/19793/commits/b3cb6128058118f680d3fb60016e92a76dca96bb
b3cb612https://github.com/cakephp/cakephp/pull/19793/commits/b3cb6128058118f680d3fb60016e92a76dca96bb
https://github.com/ADmad
ADmadhttps://github.com/ADmad
force-pushedhttps://github.com/cakephp/cakephp/compare/81b9adcbf866497159d92bace0b1aa8a8536f151..b3cb6128058118f680d3fb60016e92a76dca96bb
81b9adchttps://github.com/cakephp/cakephp/commit/81b9adcbf866497159d92bace0b1aa8a8536f151
b3cb612https://github.com/cakephp/cakephp/commit/b3cb6128058118f680d3fb60016e92a76dca96bb
Compare https://github.com/cakephp/cakephp/compare/81b9adcbf866497159d92bace0b1aa8a8536f151..b3cb6128058118f680d3fb60016e92a76dca96bb
November 11, 2026 19:13https://github.com/cakephp/cakephp/pull/19793#event-35834758343
https://github.com/josbeir
josbeirhttps://github.com/josbeir
Nov 12, 2026https://github.com/cakephp/cakephp/pull/19793#issuecomment-6817394190
Please reload this pagehttps://github.com/cakephp/cakephp/pull/19793
Please reload this pagehttps://github.com/cakephp/cakephp/pull/19793
https://github.com/ADmad
ADmadhttps://github.com/ADmad
Nov 12, 2026https://github.com/cakephp/cakephp/pull/19793#issuecomment-6817629290
AD7sixhttps://github.com/tonycamaiani/mi/blob/master/views/helpers/tree.php
Please reload this pagehttps://github.com/cakephp/cakephp/pull/19793
https://github.com/ADmad
ADmadhttps://github.com/ADmad
Nov 12, 2026https://github.com/cakephp/cakephp/pull/19793#issuecomment-6817695842
Please reload this pagehttps://github.com/cakephp/cakephp/pull/19793
https://github.com/josbeir
josbeirhttps://github.com/josbeir
Nov 12, 2026https://github.com/cakephp/cakephp/pull/19793#issuecomment-6818326670
AD7sixhttps://github.com/tonycamaiani/mi/blob/master/views/helpers/tree.php
Please reload this pagehttps://github.com/cakephp/cakephp/pull/19793
https://github.co/hiddenchars
https://github.com/cakephp/cakephp/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%2Fcakephp%2Fcakephp%2Fpull%2F19793
Copilot code review https://github.com/apps/copilot-pull-request-reviewer
Copilot https://github.com/apps/copilot-pull-request-reviewer
Learn more about Copilot code review.https://gh.io/copilot-code-review-docs
https://github.com/cakephp/cakephp/pull/19793/files/d90f204dbcc3b1f16e5d1526fe073d4e43293122
https://github.com/markstory
markstory https://github.com/markstory
https://github.com/dereuromark
dereuromark https://github.com/dereuromark
Please reload this pagehttps://github.com/cakephp/cakephp/pull/19793
enhancement https://github.com/cakephp/cakephp/issues?q=state%3Aopen%20label%3Aenhancement
5.5.0 https://github.com/cakephp/cakephp/milestone/357
Please reload this pagehttps://github.com/cakephp/cakephp/pull/19793
https://github.com/ADmad
https://github.com/dereuromark
https://github.com/josbeir
https://github.com/apps/copilot-pull-request-reviewer
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.