René's URL Explorer Experiment


Title: GitHub - alpha2016/clean-code-php at patch-1 · GitHub

Open Graph Title: GitHub - alpha2016/clean-code-php at patch-1

X Title: GitHub - alpha2016/clean-code-php at patch-1

Description: :bathtub: PHP版的代码整洁之道 中文翻译. Contribute to alpha2016/clean-code-php development by creating an account on GitHub.

Open Graph Description: :bathtub: PHP版的代码整洁之道 中文翻译. Contribute to alpha2016/clean-code-php development by creating an account on GitHub.

X Description: :bathtub: PHP版的代码整洁之道 中文翻译. Contribute to alpha2016/clean-code-php development by creating an account on GitHub.

Opengraph URL: https://github.com/alpha2016/clean-code-php/tree/patch-1

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.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/tree/*name(/*path)
route-controllerfiles
route-actiondisambiguate
fetch-noncev2:8f903eb1-89ff-87cd-91b0-fd08d34df3d9
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-idDEAA:17029F:1D1B214:2905E29:6B07329E
html-safe-noncef42485246a223e35aeae058d36860f9ec70fb0e9a7dca663fd5e1cba81c33543
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERUFBOjE3MDI5RjoxRDFCMjE0OjI5MDVFMjk6NkIwNzMyOUUiLCJ2aXNpdG9yX2lkIjoiNDA4ODYzOTE0MzM2NDk5Nzc5MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac44959f240e10e782720ec8e389e7ebeef7ee22282395c729dee3eaa806420939
hovercard-subject-tagrepository:204382472
github-keyboard-shortcutsrepository,source-code,file-tree,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///files/disambiguate
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/alpha2016/clean-code-php/tree/patch-1
twitter:imagehttps://opengraph.githubassets.com/ecdd09380b393f34dd32cf83bf74ad942f545b1ced4e34ef8264217df0f87743/alpha2016/clean-code-php
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ecdd09380b393f34dd32cf83bf74ad942f545b1ced4e34ef8264217df0f87743/alpha2016/clean-code-php
og:image:alt:bathtub: PHP版的代码整洁之道 中文翻译. Contribute to alpha2016/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
None2a60952cad7efb2604ea85e500208f51c1ec1943aa260ac605c13eb46a1ed83b
turbo-cache-controlno-cache
go-importgithub.com/alpha2016/clean-code-php git https://github.com/alpha2016/clean-code-php.git
octolytics-dimension-user_id13464027
octolytics-dimension-user_loginalpha2016
octolytics-dimension-repository_id204382472
octolytics-dimension-repository_nwoalpha2016/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
release345c27626db08417fdfc84278a4415ae9a48d8f3
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/alpha2016/clean-code-php/tree/patch-1#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Falpha2016%2Fclean-code-php%2Ftree%2Fpatch-1
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%2Falpha2016%2Fclean-code-php%2Ftree%2Fpatch-1
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Ffiles%2Fdisambiguate&source=header-repo&source_repo=alpha2016%2Fclean-code-php
Reloadhttps://github.com/alpha2016/clean-code-php/tree/patch-1
Reloadhttps://github.com/alpha2016/clean-code-php/tree/patch-1
Reloadhttps://github.com/alpha2016/clean-code-php/tree/patch-1
alpha2016https://github.com/alpha2016
clean-code-phphttps://github.com/alpha2016/clean-code-php
Codehttps://github.com/alpha2016/clean-code-php
Pull requestshttps://github.com/alpha2016/clean-code-php/pulls
Actionshttps://github.com/alpha2016/clean-code-php/actions
Projectshttps://github.com/alpha2016/clean-code-php/projects
Security and qualityhttps://github.com/alpha2016/clean-code-php/security
Insightshttps://github.com/alpha2016/clean-code-php/pulse
https://github.com/alpha2016/clean-code-php
clean-code-phphttps://github.com/alpha2016/clean-code-php
php-cpm/clean-code-phphttps://github.com/php-cpm/clean-code-php
Notificationshttps://github.com/login?return_to=%2Falpha2016%2Fclean-code-php
Fork0 (0)https://github.com/login?return_to=%2Falpha2016%2Fclean-code-php
Star0 (0)https://github.com/login?return_to=%2Falpha2016%2Fclean-code-php
Readmehttps://github.com/alpha2016/clean-code-php/tree/patch-1#readme-ov-file
Licensehttps://github.com/alpha2016/clean-code-php/tree/patch-1#License-1-ov-file
Activityhttps://github.com/alpha2016/clean-code-php/activity
0 forkshttps://github.com/alpha2016/clean-code-php/forks
Report repositoryhttps://github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Falpha2016%2Fclean-code-php&report=alpha2016+%28user%29
Brancheshttps://github.com/alpha2016/clean-code-php/branches
Tagshttps://github.com/alpha2016/clean-code-php/tags
https://github.com/alpha2016/clean-code-php/branches
https://github.com/alpha2016/clean-code-php/tags
92 Commitshttps://github.com/alpha2016/clean-code-php/commits/patch-1/
https://github.com/alpha2016/clean-code-php/commits/patch-1/
.gitattributeshttps://github.com/alpha2016/clean-code-php/blob/patch-1/.gitattributes
.gitattributeshttps://github.com/alpha2016/clean-code-php/blob/patch-1/.gitattributes
LICENSEhttps://github.com/alpha2016/clean-code-php/blob/patch-1/LICENSE
LICENSEhttps://github.com/alpha2016/clean-code-php/blob/patch-1/LICENSE
README.mdhttps://github.com/alpha2016/clean-code-php/blob/patch-1/README.md
README.mdhttps://github.com/alpha2016/clean-code-php/blob/patch-1/README.md
READMEhttps://github.com/alpha2016/clean-code-php/tree/patch-1
Licensehttps://github.com/alpha2016/clean-code-php/tree/patch-1
https://github.com/alpha2016/clean-code-php/tree/patch-1#clean-code-php
https://github.com/alpha2016/clean-code-php/tree/patch-1#table-of-contents
Introductionhttps://github.com/alpha2016/clean-code-php/tree/patch-1#introduction
Variableshttps://github.com/alpha2016/clean-code-php/tree/patch-1#variables
Functionshttps://github.com/alpha2016/clean-code-php/tree/patch-1#functions
Objects and Data Structureshttps://github.com/alpha2016/clean-code-php/tree/patch-1#objects-and-data-structures
Classeshttps://github.com/alpha2016/clean-code-php/tree/patch-1#classes
S: Single Responsibility Principle (SRP)https://github.com/alpha2016/clean-code-php/tree/patch-1#single-responsibility-principle-srp
O: Open/Closed Principle (OCP)https://github.com/alpha2016/clean-code-php/tree/patch-1#openclosed-principle-ocp
L: Liskov Substitution Principle (LSP)https://github.com/alpha2016/clean-code-php/tree/patch-1#liskov-substitution-principle-lsp
I: Interface Segregation Principle (ISP)https://github.com/alpha2016/clean-code-php/tree/patch-1#interface-segregation-principle-isp
D: Dependency Inversion Principle (DIP)https://github.com/alpha2016/clean-code-php/tree/patch-1#dependency-inversion-principle-dip
Don’t repeat yourself (DRY)https://github.com/alpha2016/clean-code-php/tree/patch-1#dont-repeat-yourself-dry
Tanslationshttps://github.com/alpha2016/clean-code-php/tree/patch-1#translations
https://github.com/alpha2016/clean-code-php/tree/patch-1#introduction
Clean Codehttps://www.amazon.com/Clean-Code-Handbook-Software-Craftsmanship/dp/0132350882
clean-code-javascripthttps://github.com/ryanmcdermott/clean-code-javascript
https://github.com/alpha2016/clean-code-php/tree/patch-1#variables
https://github.com/alpha2016/clean-code-php/tree/patch-1#use-meaningful-and-pronounceable-variable-names
⬆ back to tophttps://github.com/alpha2016/clean-code-php/tree/patch-1#table-of-contents
https://github.com/alpha2016/clean-code-php/tree/patch-1#use-the-same-vocabulary-for-the-same-type-of-variable
⬆ back to tophttps://github.com/alpha2016/clean-code-php/tree/patch-1#table-of-contents
https://github.com/alpha2016/clean-code-php/tree/patch-1#use-searchable-names
⬆ back to tophttps://github.com/alpha2016/clean-code-php/tree/patch-1#table-of-contents
https://github.com/alpha2016/clean-code-php/tree/patch-1#use-explanatory-variables
⬆ back to tophttps://github.com/alpha2016/clean-code-php/tree/patch-1#table-of-contents
https://github.com/alpha2016/clean-code-php/tree/patch-1#avoid-mental-mapping
⬆ back to tophttps://github.com/alpha2016/clean-code-php/tree/patch-1#table-of-contents
https://github.com/alpha2016/clean-code-php/tree/patch-1#dont-add-unneeded-context
⬆ back to tophttps://github.com/alpha2016/clean-code-php/tree/patch-1#table-of-contents
https://github.com/alpha2016/clean-code-php/tree/patch-1#use-default-arguments-instead-of-short-circuiting-or-conditionals
⬆ back to tophttps://github.com/alpha2016/clean-code-php/tree/patch-1#table-of-contents
https://github.com/alpha2016/clean-code-php/tree/patch-1#functions
https://github.com/alpha2016/clean-code-php/tree/patch-1#function-arguments-2-or-fewer-ideally
⬆ back to tophttps://github.com/alpha2016/clean-code-php/tree/patch-1#table-of-contents
https://github.com/alpha2016/clean-code-php/tree/patch-1#functions-should-do-one-thing
⬆ back to tophttps://github.com/alpha2016/clean-code-php/tree/patch-1#table-of-contents
https://github.com/alpha2016/clean-code-php/tree/patch-1#function-names-should-say-what-they-do
⬆ back to tophttps://github.com/alpha2016/clean-code-php/tree/patch-1#table-of-contents
https://github.com/alpha2016/clean-code-php/tree/patch-1#functions-should-only-be-one-level-of-abstraction
⬆ back to tophttps://github.com/alpha2016/clean-code-php/tree/patch-1#table-of-contents
https://github.com/alpha2016/clean-code-php/tree/patch-1#dont-use-flags-as-function-parameters
⬆ back to tophttps://github.com/alpha2016/clean-code-php/tree/patch-1#table-of-contents
https://github.com/alpha2016/clean-code-php/tree/patch-1#avoid-side-effects
⬆ back to tophttps://github.com/alpha2016/clean-code-php/tree/patch-1#table-of-contents
https://github.com/alpha2016/clean-code-php/tree/patch-1#dont-write-to-global-functions
⬆ back to tophttps://github.com/alpha2016/clean-code-php/tree/patch-1#table-of-contents
https://github.com/alpha2016/clean-code-php/tree/patch-1#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
⬆ back to tophttps://github.com/alpha2016/clean-code-php/tree/patch-1#table-of-contents
https://github.com/alpha2016/clean-code-php/tree/patch-1#encapsulate-conditionals
⬆ back to tophttps://github.com/alpha2016/clean-code-php/tree/patch-1#table-of-contents
https://github.com/alpha2016/clean-code-php/tree/patch-1#avoid-negative-conditionals
⬆ back to tophttps://github.com/alpha2016/clean-code-php/tree/patch-1#table-of-contents
https://github.com/alpha2016/clean-code-php/tree/patch-1#avoid-conditionals
⬆ back to tophttps://github.com/alpha2016/clean-code-php/tree/patch-1#table-of-contents
https://github.com/alpha2016/clean-code-php/tree/patch-1#avoid-type-checking-part-1
⬆ back to tophttps://github.com/alpha2016/clean-code-php/tree/patch-1#table-of-contents
https://github.com/alpha2016/clean-code-php/tree/patch-1#avoid-type-checking-part-2
type declarationhttp://php.net/manual/en/functions.arguments.php#functions.arguments.type-declaration
⬆ back to tophttps://github.com/alpha2016/clean-code-php/tree/patch-1#table-of-contents
https://github.com/alpha2016/clean-code-php/tree/patch-1#remove-dead-code
⬆ back to tophttps://github.com/alpha2016/clean-code-php/tree/patch-1#table-of-contents
https://github.com/alpha2016/clean-code-php/tree/patch-1#objects-and-data-structures
https://github.com/alpha2016/clean-code-php/tree/patch-1#use-getters-and-setters
⬆ back to tophttps://github.com/alpha2016/clean-code-php/tree/patch-1#table-of-contents
https://github.com/alpha2016/clean-code-php/tree/patch-1#make-objects-have-privateprotected-members
⬆ back to tophttps://github.com/alpha2016/clean-code-php/tree/patch-1#table-of-contents
https://github.com/alpha2016/clean-code-php/tree/patch-1#classes
https://github.com/alpha2016/clean-code-php/tree/patch-1#single-responsibility-principle-srp
⬆ back to tophttps://github.com/alpha2016/clean-code-php/tree/patch-1#table-of-contents
https://github.com/alpha2016/clean-code-php/tree/patch-1#openclosed-principle-ocp
⬆ back to tophttps://github.com/alpha2016/clean-code-php/tree/patch-1#table-of-contents
https://github.com/alpha2016/clean-code-php/tree/patch-1#liskov-substitution-principle-lsp
⬆ back to tophttps://github.com/alpha2016/clean-code-php/tree/patch-1#table-of-contents
https://github.com/alpha2016/clean-code-php/tree/patch-1#interface-segregation-principle-isp
⬆ back to tophttps://github.com/alpha2016/clean-code-php/tree/patch-1#table-of-contents
https://github.com/alpha2016/clean-code-php/tree/patch-1#dependency-inversion-principle-dip
⬆ back to tophttps://github.com/alpha2016/clean-code-php/tree/patch-1#table-of-contents
https://github.com/alpha2016/clean-code-php/tree/patch-1#use-method-chaining
⬆ back to tophttps://github.com/alpha2016/clean-code-php/tree/patch-1#table-of-contents
https://github.com/alpha2016/clean-code-php/tree/patch-1#prefer-composition-over-inheritance
Design Patternshttps://en.wikipedia.org/wiki/Design_Patterns
⬆ back to tophttps://github.com/alpha2016/clean-code-php/tree/patch-1#table-of-contents
https://github.com/alpha2016/clean-code-php/tree/patch-1#dont-repeat-yourself-dry
DRYhttps://en.wikipedia.org/wiki/Don%27t_repeat_yourself
Classeshttps://github.com/alpha2016/clean-code-php/tree/patch-1#classes
⬆ back to tophttps://github.com/alpha2016/clean-code-php/tree/patch-1#table-of-contents
https://github.com/alpha2016/clean-code-php/tree/patch-1#translations
https://raw.githubusercontent.com/gosquared/flags/master/flags/flags/shiny/24/China.png
yangweijie/clean-code-phphttps://github.com/yangweijie/clean-code-php
php-cpm/clean-code-phphttps://github.com/php-cpm/clean-code-php
⬆ back to tophttps://github.com/alpha2016/clean-code-php/tree/patch-1#table-of-contents
Readmehttps://github.com/alpha2016/clean-code-php/tree/patch-1#readme-ov-file
Licensehttps://github.com/alpha2016/clean-code-php/tree/patch-1#License-1-ov-file
Activityhttps://github.com/alpha2016/clean-code-php/activity
0 forkshttps://github.com/alpha2016/clean-code-php/forks
Report repositoryhttps://github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Falpha2016%2Fclean-code-php&report=alpha2016+%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.