René's URL Explorer Experiment


Title: GitHub - gamehotz/clean-code-php: :bathtub: Clean Code concepts adapted for PHP · GitHub

Open Graph Title: GitHub - gamehotz/clean-code-php: :bathtub: Clean Code concepts adapted for PHP

X Title: GitHub - gamehotz/clean-code-php: :bathtub: Clean Code concepts adapted for PHP

Description: :bathtub: Clean Code concepts adapted for PHP. Contribute to gamehotz/clean-code-php development by creating an account on GitHub.

Open Graph Description: :bathtub: Clean Code concepts adapted for PHP. Contribute to gamehotz/clean-code-php development by creating an account on GitHub.

X Description: :bathtub: Clean Code concepts adapted for PHP. Contribute to gamehotz/clean-code-php development by creating an account on GitHub.

Opengraph URL: https://github.com/gamehotz/clean-code-php

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.4

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/:user_id/:repository
route-controllerfiles
route-actiondisambiguate
fetch-noncev2:b3ec03f8-9240-a9c3-2ad6-9466ac0ac134
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-idE316:47735:35B444:46F023:6B07651E
html-safe-noncefe569e9201e7cde2137237ae64ebf58af310937890c53fda9922253bd2dc2997
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMzE2OjQ3NzM1OjM1QjQ0NDo0NkYwMjM6NkIwNzY1MUUiLCJ2aXNpdG9yX2lkIjoiODU0NTEyMDM0MjM4ODQ2Njk3NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacf2e73418b348053067caa99c0f331c08aa6a3bfbc5427b15a5eed50c2fe485ef
hovercard-subject-tagrepository:102942358
github-keyboard-shortcutsrepository,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location//
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/gamehotz/clean-code-php
twitter:imagehttps://opengraph.githubassets.com/90dfcfbdcde5604428e949e47e114539c4f2b936f201090de40965a2af623dbf/gamehotz/clean-code-php
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/90dfcfbdcde5604428e949e47e114539c4f2b936f201090de40965a2af623dbf/gamehotz/clean-code-php
og:image:alt:bathtub: Clean Code concepts adapted for PHP. Contribute to gamehotz/clean-code-php development by creating an account on GitHub.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None7a557ecc960a3ae6e299fc66b0bc9132072f8860191648e6749fee5d3ff00d82
turbo-cache-controlno-cache
go-importgithub.com/gamehotz/clean-code-php git https://github.com/gamehotz/clean-code-php.git
octolytics-dimension-user_id13409150
octolytics-dimension-user_logingamehotz
octolytics-dimension-repository_id102942358
octolytics-dimension-repository_nwogamehotz/clean-code-php
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id102061086
octolytics-dimension-repository_parent_nwophp-cpm/clean-code-php
octolytics-dimension-repository_network_root_id79111500
octolytics-dimension-repository_network_root_nwopiotrplenik/clean-code-php
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
releasebd845eb7947c1ed8c850f7ab415a51339d162de3
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/gamehotz/clean-code-php#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgamehotz%2Fclean-code-php
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%2Fgamehotz%2Fclean-code-php
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E&source=header-repo&source_repo=gamehotz%2Fclean-code-php
Reloadhttps://github.com/gamehotz/clean-code-php
Reloadhttps://github.com/gamehotz/clean-code-php
Reloadhttps://github.com/gamehotz/clean-code-php
gamehotzhttps://github.com/gamehotz
clean-code-phphttps://github.com/gamehotz/clean-code-php
Codehttps://github.com/gamehotz/clean-code-php
Pull requestshttps://github.com/gamehotz/clean-code-php/pulls
Actionshttps://github.com/gamehotz/clean-code-php/actions
Projectshttps://github.com/gamehotz/clean-code-php/projects
Wikihttps://github.com/gamehotz/clean-code-php/wiki
Security and qualityhttps://github.com/gamehotz/clean-code-php/security
Insightshttps://github.com/gamehotz/clean-code-php/pulse
https://github.com/gamehotz/clean-code-php
clean-code-phphttps://github.com/gamehotz/clean-code-php
php-cpm/clean-code-phphttps://github.com/php-cpm/clean-code-php
Notificationshttps://github.com/login?return_to=%2Fgamehotz%2Fclean-code-php
Fork0 (0)https://github.com/login?return_to=%2Fgamehotz%2Fclean-code-php
Star0 (0)https://github.com/login?return_to=%2Fgamehotz%2Fclean-code-php
Readmehttps://github.com/gamehotz/clean-code-php#readme-ov-file
MIT licensehttps://github.com/gamehotz/clean-code-php#MIT-1-ov-file
Activityhttps://github.com/gamehotz/clean-code-php/activity
0 forkshttps://github.com/gamehotz/clean-code-php/forks
Report repositoryhttps://github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Fgamehotz%2Fclean-code-php&report=gamehotz+%28user%29
Brancheshttps://github.com/gamehotz/clean-code-php/branches
Tagshttps://github.com/gamehotz/clean-code-php/tags
https://github.com/gamehotz/clean-code-php/branches
https://github.com/gamehotz/clean-code-php/tags
10 Commitshttps://github.com/gamehotz/clean-code-php/commits/master/
https://github.com/gamehotz/clean-code-php/commits/master/
.gitattributeshttps://github.com/gamehotz/clean-code-php/blob/master/.gitattributes
.gitattributeshttps://github.com/gamehotz/clean-code-php/blob/master/.gitattributes
LICENSEhttps://github.com/gamehotz/clean-code-php/blob/master/LICENSE
LICENSEhttps://github.com/gamehotz/clean-code-php/blob/master/LICENSE
README.mdhttps://github.com/gamehotz/clean-code-php/blob/master/README.md
README.mdhttps://github.com/gamehotz/clean-code-php/blob/master/README.md
READMEhttps://github.com/gamehotz/clean-code-php
MIT licensehttps://github.com/gamehotz/clean-code-php
https://github.com/gamehotz/clean-code-php#clean-code-php
https://github.com/gamehotz/clean-code-php#目录
介绍https://github.com/gamehotz/clean-code-php#%E4%BB%8B%E7%BB%8D
变量https://github.com/gamehotz/clean-code-php#%E5%8F%98%E9%87%8F
函数https://github.com/gamehotz/clean-code-php#%E5%87%BD%E6%95%B0
对象和数据结构 Objects and Data Structureshttps://github.com/gamehotz/clean-code-php#objects-and-data-structures
类的SOLID原则 Classeshttps://github.com/gamehotz/clean-code-php#classes
S: 单一功能 Single Responsibility Principle (SRP)https://github.com/gamehotz/clean-code-php#single-responsibility-principle-srp
O: 开闭原则 Open/Closed Principle (OCP)https://github.com/gamehotz/clean-code-php#openclosed-principle-ocp
L: 里氏替换 Liskov Substitution Principle (LSP)https://github.com/gamehotz/clean-code-php#liskov-substitution-principle-lsp
I: 接口隔离 Interface Segregation Principle (ISP)https://github.com/gamehotz/clean-code-php#interface-segregation-principle-isp
D: 依赖反转 Dependency Inversion Principle (DIP)https://github.com/gamehotz/clean-code-php#dependency-inversion-principle-dip
https://github.com/gamehotz/clean-code-php#介绍
clen php codehttps://github.com/jupeter/clean-code-php
Clean Codehttps://www.amazon.com/Clean-Code-Handbook-Software-Craftsmanship/dp/0132350882
clean-code-javascripthttps://github.com/ryanmcdermott/clean-code-javascript
https://github.com/gamehotz/clean-code-php#变量
https://github.com/gamehotz/clean-code-php#使用见字知意的变量名
⬆ 返回顶部https://github.com/gamehotz/clean-code-php#%E7%9B%AE%E5%BD%95
https://github.com/gamehotz/clean-code-php#同一个实体要用相同的变量名
⬆ 返回顶部https://github.com/gamehotz/clean-code-php#%E7%9B%AE%E5%BD%95
https://github.com/gamehotz/clean-code-php#使用便于搜索的名称
⬆ 返回顶部https://github.com/gamehotz/clean-code-php#%E7%9B%AE%E5%BD%95
https://github.com/gamehotz/clean-code-php#使用解释型变量
⬆ 返回顶部https://github.com/gamehotz/clean-code-php#%E7%9B%AE%E5%BD%95
https://github.com/gamehotz/clean-code-php#少用无意义的变量名
⬆ 返回顶部https://github.com/gamehotz/clean-code-php#%E7%9B%AE%E5%BD%95
https://github.com/gamehotz/clean-code-php#不要添加不必要上下文
⬆ 返回顶部https://github.com/gamehotz/clean-code-php#%E7%9B%AE%E5%BD%95
https://github.com/gamehotz/clean-code-php#合理使用参数默认值没必要在方法里再做默认值检测
⬆ 返回顶部https://github.com/gamehotz/clean-code-php#%E7%9B%AE%E5%BD%95
https://github.com/gamehotz/clean-code-php#函数
https://github.com/gamehotz/clean-code-php#函数参数最好少于2个
⬆ 返回顶部https://github.com/gamehotz/clean-code-php#%E7%9B%AE%E5%BD%95
https://github.com/gamehotz/clean-code-php#函数应该只做一件事
⬆ 返回顶部https://github.com/gamehotz/clean-code-php#%E7%9B%AE%E5%BD%95
https://github.com/gamehotz/clean-code-php#函数名应该是有意义的动词或表明具体做了什么事
⬆ 返回顶部https://github.com/gamehotz/clean-code-php#%E7%9B%AE%E5%BD%95
https://github.com/gamehotz/clean-code-php#函数应当只有一层抽象abstraction
⬆ 返回顶部https://github.com/gamehotz/clean-code-php#%E7%9B%AE%E5%BD%95
https://github.com/gamehotz/clean-code-php#不要用flag作为函数的参数
⬆ 返回顶部https://github.com/gamehotz/clean-code-php#%E7%9B%AE%E5%BD%95
https://github.com/gamehotz/clean-code-php#避免副作用
⬆ 返回顶部https://github.com/gamehotz/clean-code-php#%E7%9B%AE%E5%BD%95
https://github.com/gamehotz/clean-code-php#不要写全局函数
⬆ 返回顶部https://github.com/gamehotz/clean-code-php#%E7%9B%AE%E5%BD%95
https://github.com/gamehotz/clean-code-php#dont-use-a-singleton-pattern
anti-patternhttps://en.wikipedia.org/wiki/Singleton_pattern
DSNhttp://php.net/manual/en/pdo.construct.php#refsect1-pdo.construct-parameters
⬆ 返回顶部https://github.com/gamehotz/clean-code-php#%E7%9B%AE%E5%BD%95
https://github.com/gamehotz/clean-code-php#封装条件语句
⬆ 返回顶部https://github.com/gamehotz/clean-code-php#%E7%9B%AE%E5%BD%95
https://github.com/gamehotz/clean-code-php#避免用反义条件判断
⬆ 返回顶部https://github.com/gamehotz/clean-code-php#%E7%9B%AE%E5%BD%95
https://github.com/gamehotz/clean-code-php#避免条件声明
⬆ 返回顶部https://github.com/gamehotz/clean-code-php#%E7%9B%AE%E5%BD%95
https://github.com/gamehotz/clean-code-php#避免类型检查-part-1
⬆ 返回顶部https://github.com/gamehotz/clean-code-php#%E7%9B%AE%E5%BD%95
https://github.com/gamehotz/clean-code-php#避免类型检查-part-2
类型声明http://php.net/manual/en/functions.arguments.php#functions.arguments.type-declaration
⬆ 返回顶部https://github.com/gamehotz/clean-code-php#%E7%9B%AE%E5%BD%95
https://github.com/gamehotz/clean-code-php#移除僵尸代码
⬆ 返回顶部https://github.com/gamehotz/clean-code-php#%E7%9B%AE%E5%BD%95
https://github.com/gamehotz/clean-code-php#objects-and-data-structures
https://github.com/gamehotz/clean-code-php#use-getters-and-setters
⬆ 返回顶部https://github.com/gamehotz/clean-code-php#%E7%9B%AE%E5%BD%95
https://github.com/gamehotz/clean-code-php#make-objects-have-privateprotected-members
⬆ 返回顶部https://github.com/gamehotz/clean-code-php#%E7%9B%AE%E5%BD%95
https://github.com/gamehotz/clean-code-php#classes
https://github.com/gamehotz/clean-code-php#single-responsibility-principle-srp
⬆ 返回顶部https://github.com/gamehotz/clean-code-php#%E7%9B%AE%E5%BD%95
https://github.com/gamehotz/clean-code-php#openclosed-principle-ocp
⬆ 返回顶部https://github.com/gamehotz/clean-code-php#%E7%9B%AE%E5%BD%95
https://github.com/gamehotz/clean-code-php#liskov-substitution-principle-lsp
⬆ 返回顶部https://github.com/gamehotz/clean-code-php#%E7%9B%AE%E5%BD%95
https://github.com/gamehotz/clean-code-php#interface-segregation-principle-isp
⬆ 返回顶部https://github.com/gamehotz/clean-code-php#%E7%9B%AE%E5%BD%95
https://github.com/gamehotz/clean-code-php#dependency-inversion-principle-dip
⬆ 返回顶部https://github.com/gamehotz/clean-code-php#%E7%9B%AE%E5%BD%95
https://github.com/gamehotz/clean-code-php#use-method-chaining
⬆ 返回顶部https://github.com/gamehotz/clean-code-php#%E7%9B%AE%E5%BD%95
https://github.com/gamehotz/clean-code-php#prefer-composition-over-inheritance
Design Patternshttps://en.wikipedia.org/wiki/Design_Patterns
⬆ 返回顶部https://github.com/gamehotz/clean-code-php#%E7%9B%AE%E5%BD%95
https://github.com/gamehotz/clean-code-php#别写重复代码-dry
DRYhttps://en.wikipedia.org/wiki/Don%27t_repeat_yourself
Classeshttps://github.com/gamehotz/clean-code-php#classes
⬆ 返回顶部https://github.com/gamehotz/clean-code-php#%E7%9B%AE%E5%BD%95
Readmehttps://github.com/gamehotz/clean-code-php#readme-ov-file
MIT licensehttps://github.com/gamehotz/clean-code-php#MIT-1-ov-file
Activityhttps://github.com/gamehotz/clean-code-php/activity
0 forkshttps://github.com/gamehotz/clean-code-php/forks
Report repositoryhttps://github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Fgamehotz%2Fclean-code-php&report=gamehotz+%28user%29
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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.