René's URL Explorer Experiment


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

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

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

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

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

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

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.3

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:4a085977-ff68-926f-98a0-b9e576e6ff7f
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-idA916:1C68A:1C03D2D:270B106:6B06E8F9
html-safe-nonce9bd749e22862f145319b71fe37ce213b34948fe94d896a5a29472bd2c2eca608
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOTE2OjFDNjhBOjFDMDNEMkQ6MjcwQjEwNjo2QjA2RThGOSIsInZpc2l0b3JfaWQiOiI2ODE4MTU4NTk0ODgyODY5NjkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac12351747c7d06737f772b528e852b333e15041ef77ba28492a1e8c1cf051a13a
hovercard-subject-tagrepository:103267367
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/ncrousset/clean-code-php
twitter:imagehttps://opengraph.githubassets.com/41cf18ec21acf454ab14c29c11bbce7210c9b52d0ddafa63c206c3afcfde24fb/ncrousset/clean-code-php
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/41cf18ec21acf454ab14c29c11bbce7210c9b52d0ddafa63c206c3afcfde24fb/ncrousset/clean-code-php
og:image:alt:bathtub: Clean Code concepts adapted for PHP. Contribute to ncrousset/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
None351ea5ca38a5758919d44ee52c70fe9003c0c2dfa20f04effd7fac0c5330c16b
turbo-cache-controlno-cache
go-importgithub.com/ncrousset/clean-code-php git https://github.com/ncrousset/clean-code-php.git
octolytics-dimension-user_id1432180
octolytics-dimension-user_loginncrousset
octolytics-dimension-repository_id103267367
octolytics-dimension-repository_nwoncrousset/clean-code-php
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id79111500
octolytics-dimension-repository_parent_nwopiotrplenik/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
releaseaf8913cd0f2f77c41796be449ac66a9108825abc
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/ncrousset/clean-code-php#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fncrousset%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%2Fncrousset%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=ncrousset%2Fclean-code-php
Reloadhttps://github.com/ncrousset/clean-code-php
Reloadhttps://github.com/ncrousset/clean-code-php
Reloadhttps://github.com/ncrousset/clean-code-php
ncroussethttps://github.com/ncrousset
clean-code-phphttps://github.com/ncrousset/clean-code-php
Codehttps://github.com/ncrousset/clean-code-php
Pull requestshttps://github.com/ncrousset/clean-code-php/pulls
Actionshttps://github.com/ncrousset/clean-code-php/actions
Projectshttps://github.com/ncrousset/clean-code-php/projects
Wikihttps://github.com/ncrousset/clean-code-php/wiki
Security and qualityhttps://github.com/ncrousset/clean-code-php/security
Insightshttps://github.com/ncrousset/clean-code-php/pulse
https://github.com/ncrousset/clean-code-php
clean-code-phphttps://github.com/ncrousset/clean-code-php
piotrplenik/clean-code-phphttps://github.com/piotrplenik/clean-code-php
Notificationshttps://github.com/login?return_to=%2Fncrousset%2Fclean-code-php
Fork0 (0)https://github.com/login?return_to=%2Fncrousset%2Fclean-code-php
Star0 (0)https://github.com/login?return_to=%2Fncrousset%2Fclean-code-php
Readmehttps://github.com/ncrousset/clean-code-php#readme-ov-file
MIT licensehttps://github.com/ncrousset/clean-code-php#MIT-1-ov-file
Activityhttps://github.com/ncrousset/clean-code-php/activity
0 forkshttps://github.com/ncrousset/clean-code-php/forks
Report repositoryhttps://github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Fncrousset%2Fclean-code-php&report=ncrousset+%28user%29
Brancheshttps://github.com/ncrousset/clean-code-php/branches
Tagshttps://github.com/ncrousset/clean-code-php/tags
https://github.com/ncrousset/clean-code-php/branches
https://github.com/ncrousset/clean-code-php/tags
189 Commitshttps://github.com/ncrousset/clean-code-php/commits/master/
https://github.com/ncrousset/clean-code-php/commits/master/
.gitattributeshttps://github.com/ncrousset/clean-code-php/blob/master/.gitattributes
.gitattributeshttps://github.com/ncrousset/clean-code-php/blob/master/.gitattributes
LICENSEhttps://github.com/ncrousset/clean-code-php/blob/master/LICENSE
LICENSEhttps://github.com/ncrousset/clean-code-php/blob/master/LICENSE
README.mdhttps://github.com/ncrousset/clean-code-php/blob/master/README.md
README.mdhttps://github.com/ncrousset/clean-code-php/blob/master/README.md
READMEhttps://github.com/ncrousset/clean-code-php
MIT licensehttps://github.com/ncrousset/clean-code-php
https://github.com/ncrousset/clean-code-php#clean-code-php
https://github.com/ncrousset/clean-code-php#table-of-contents
Introductionhttps://github.com/ncrousset/clean-code-php#introduction
Variableshttps://github.com/ncrousset/clean-code-php#variables
Use meaningful and pronounceable variable nameshttps://github.com/ncrousset/clean-code-php#use-meaningful-and-pronounceable-variable-names
Use the same vocabulary for the same type of variablehttps://github.com/ncrousset/clean-code-php#use-the-same-vocabulary-for-the-same-type-of-variable
Use searchable names (part 1)https://github.com/ncrousset/clean-code-php#use-searchable-names-part-1
Use searchable names (part 2)https://github.com/ncrousset/clean-code-php#use-searchable-names-part-2
Use explanatory variableshttps://github.com/ncrousset/clean-code-php#use-explanatory-variables
Avoid Mental Mappinghttps://github.com/ncrousset/clean-code-php#avoid-mental-mapping
Don't add unneeded contexthttps://github.com/ncrousset/clean-code-php#dont-add-unneeded-context
Use default arguments instead of short circuiting or conditionalshttps://github.com/ncrousset/clean-code-php#use-default-arguments-instead-of-short-circuiting-or-conditionals
Functionshttps://github.com/ncrousset/clean-code-php#functions
Function arguments (2 or fewer ideally)https://github.com/ncrousset/clean-code-php#function-arguments-2-or-fewer-ideally
Functions should do one thinghttps://github.com/ncrousset/clean-code-php#functions-should-do-one-thing
Function names should say what they dohttps://github.com/ncrousset/clean-code-php#function-names-should-say-what-they-do
Functions should only be one level of abstractionhttps://github.com/ncrousset/clean-code-php#functions-should-only-be-one-level-of-abstraction
Don't use flags as function parametershttps://github.com/ncrousset/clean-code-php#dont-use-flags-as-function-parameters
Avoid Side Effectshttps://github.com/ncrousset/clean-code-php#avoid-side-effects
Don't write to global functionshttps://github.com/ncrousset/clean-code-php#dont-write-to-global-functions
Don't use a Singleton patternhttps://github.com/ncrousset/clean-code-php#dont-use-a-singleton-pattern
Encapsulate conditionalshttps://github.com/ncrousset/clean-code-php#encapsulate-conditionals
Avoid negative conditionalshttps://github.com/ncrousset/clean-code-php#avoid-negative-conditionals
Avoid conditionalshttps://github.com/ncrousset/clean-code-php#avoid-conditionals
Avoid type-checking (part 1)https://github.com/ncrousset/clean-code-php#avoid-type-checking-part-1
Avoid type-checking (part 2)https://github.com/ncrousset/clean-code-php#avoid-type-checking-part-2
Remove dead codehttps://github.com/ncrousset/clean-code-php#remove-dead-code
Objects and Data Structureshttps://github.com/ncrousset/clean-code-php#objects-and-data-structures
Use getters and settershttps://github.com/ncrousset/clean-code-php#use-getters-and-setters
Make objects have private/protected membershttps://github.com/ncrousset/clean-code-php#make-objects-have-privateprotected-members
Classeshttps://github.com/ncrousset/clean-code-php#classes
Use method chaininghttps://github.com/ncrousset/clean-code-php#use-method-chaining
Prefer composition over inheritancehttps://github.com/ncrousset/clean-code-php#prefer-composition-over-inheritance
SOLIDhttps://github.com/ncrousset/clean-code-php#solid
Single Responsibility Principle (SRP)https://github.com/ncrousset/clean-code-php#single-responsibility-principle-srp
Open/Closed Principle (OCP)https://github.com/ncrousset/clean-code-php#openclosed-principle-ocp
Liskov Substitution Principle (LSP)https://github.com/ncrousset/clean-code-php#liskov-substitution-principle-lsp
Interface Segregation Principle (ISP)https://github.com/ncrousset/clean-code-php#interface-segregation-principle-isp
Dependency Inversion Principle (DIP)https://github.com/ncrousset/clean-code-php#dependency-inversion-principle-dip
Don’t repeat yourself (DRY)https://github.com/ncrousset/clean-code-php#dont-repeat-yourself-dry
Translationshttps://github.com/ncrousset/clean-code-php#translations
https://github.com/ncrousset/clean-code-php#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/ncrousset/clean-code-php#variables
https://github.com/ncrousset/clean-code-php#use-meaningful-and-pronounceable-variable-names
⬆ back to tophttps://github.com/ncrousset/clean-code-php#table-of-contents
https://github.com/ncrousset/clean-code-php#use-the-same-vocabulary-for-the-same-type-of-variable
⬆ back to tophttps://github.com/ncrousset/clean-code-php#table-of-contents
https://github.com/ncrousset/clean-code-php#use-searchable-names-part-1
https://github.com/ncrousset/clean-code-php#use-searchable-names-part-2
⬆ back to tophttps://github.com/ncrousset/clean-code-php#table-of-contents
https://github.com/ncrousset/clean-code-php#use-explanatory-variables
⬆ back to tophttps://github.com/ncrousset/clean-code-php#table-of-contents
https://github.com/ncrousset/clean-code-php#avoid-nesting-too-deeply-and-return-early
⬆ back to tophttps://github.com/ncrousset/clean-code-php#table-of-contents
https://github.com/ncrousset/clean-code-php#avoid-mental-mapping
⬆ back to tophttps://github.com/ncrousset/clean-code-php#table-of-contents
https://github.com/ncrousset/clean-code-php#dont-add-unneeded-context
⬆ back to tophttps://github.com/ncrousset/clean-code-php#table-of-contents
https://github.com/ncrousset/clean-code-php#use-default-arguments-instead-of-short-circuiting-or-conditionals
type hintinghttp://php.net/manual/en/functions.arguments.php#functions.arguments.type-declaration
⬆ back to tophttps://github.com/ncrousset/clean-code-php#table-of-contents
https://github.com/ncrousset/clean-code-php#functions
https://github.com/ncrousset/clean-code-php#function-arguments-2-or-fewer-ideally
⬆ back to tophttps://github.com/ncrousset/clean-code-php#table-of-contents
https://github.com/ncrousset/clean-code-php#functions-should-do-one-thing
⬆ back to tophttps://github.com/ncrousset/clean-code-php#table-of-contents
https://github.com/ncrousset/clean-code-php#function-names-should-say-what-they-do
⬆ back to tophttps://github.com/ncrousset/clean-code-php#table-of-contents
https://github.com/ncrousset/clean-code-php#functions-should-only-be-one-level-of-abstraction
⬆ back to tophttps://github.com/ncrousset/clean-code-php#table-of-contents
https://github.com/ncrousset/clean-code-php#dont-use-flags-as-function-parameters
⬆ back to tophttps://github.com/ncrousset/clean-code-php#table-of-contents
https://github.com/ncrousset/clean-code-php#avoid-side-effects
⬆ back to tophttps://github.com/ncrousset/clean-code-php#table-of-contents
https://github.com/ncrousset/clean-code-php#dont-write-to-global-functions
⬆ back to tophttps://github.com/ncrousset/clean-code-php#table-of-contents
https://github.com/ncrousset/clean-code-php#dont-use-a-singleton-pattern
anti-patternhttps://en.wikipedia.org/wiki/Singleton_pattern
code smellhttps://en.wikipedia.org/wiki/Code_smell
single responsibility principlehttps://github.com/ncrousset/clean-code-php#single-responsibility-principle-srp
coupledhttps://en.wikipedia.org/wiki/Coupling_%28computer_programming%29
Misko Heveryhttp://misko.hevery.com/about/
root of problemhttp://misko.hevery.com/2008/08/25/root-cause-of-singletons/
DSNhttp://php.net/manual/en/pdo.construct.php#refsect1-pdo.construct-parameters
⬆ back to tophttps://github.com/ncrousset/clean-code-php#table-of-contents
https://github.com/ncrousset/clean-code-php#encapsulate-conditionals
⬆ back to tophttps://github.com/ncrousset/clean-code-php#table-of-contents
https://github.com/ncrousset/clean-code-php#avoid-negative-conditionals
⬆ back to tophttps://github.com/ncrousset/clean-code-php#table-of-contents
https://github.com/ncrousset/clean-code-php#avoid-conditionals
⬆ back to tophttps://github.com/ncrousset/clean-code-php#table-of-contents
https://github.com/ncrousset/clean-code-php#avoid-type-checking-part-1
⬆ back to tophttps://github.com/ncrousset/clean-code-php#table-of-contents
https://github.com/ncrousset/clean-code-php#avoid-type-checking-part-2
type declarationhttp://php.net/manual/en/functions.arguments.php#functions.arguments.type-declaration
⬆ back to tophttps://github.com/ncrousset/clean-code-php#table-of-contents
https://github.com/ncrousset/clean-code-php#remove-dead-code
⬆ back to tophttps://github.com/ncrousset/clean-code-php#table-of-contents
https://github.com/ncrousset/clean-code-php#objects-and-data-structures
https://github.com/ncrousset/clean-code-php#use-getters-and-setters
⬆ back to tophttps://github.com/ncrousset/clean-code-php#table-of-contents
https://github.com/ncrousset/clean-code-php#make-objects-have-privateprotected-members
⬆ back to tophttps://github.com/ncrousset/clean-code-php#table-of-contents
https://github.com/ncrousset/clean-code-php#classes
https://github.com/ncrousset/clean-code-php#use-method-chaining
⬆ back to tophttps://github.com/ncrousset/clean-code-php#table-of-contents
https://github.com/ncrousset/clean-code-php#prefer-composition-over-inheritance
Design Patternshttps://en.wikipedia.org/wiki/Design_Patterns
⬆ back to tophttps://github.com/ncrousset/clean-code-php#table-of-contents
https://github.com/ncrousset/clean-code-php#solid
S: Single Responsibility Principle (SRP)https://github.com/ncrousset/clean-code-php#single-responsibility-principle-srp
O: Open/Closed Principle (OCP)https://github.com/ncrousset/clean-code-php#openclosed-principle-ocp
L: Liskov Substitution Principle (LSP)https://github.com/ncrousset/clean-code-php#liskov-substitution-principle-lsp
I: Interface Segregation Principle (ISP)https://github.com/ncrousset/clean-code-php#interface-segregation-principle-isp
D: Dependency Inversion Principle (DIP)https://github.com/ncrousset/clean-code-php#dependency-inversion-principle-dip
https://github.com/ncrousset/clean-code-php#single-responsibility-principle-srp
⬆ back to tophttps://github.com/ncrousset/clean-code-php#table-of-contents
https://github.com/ncrousset/clean-code-php#openclosed-principle-ocp
⬆ back to tophttps://github.com/ncrousset/clean-code-php#table-of-contents
https://github.com/ncrousset/clean-code-php#liskov-substitution-principle-lsp
⬆ back to tophttps://github.com/ncrousset/clean-code-php#table-of-contents
https://github.com/ncrousset/clean-code-php#interface-segregation-principle-isp
⬆ back to tophttps://github.com/ncrousset/clean-code-php#table-of-contents
https://github.com/ncrousset/clean-code-php#dependency-inversion-principle-dip
⬆ back to tophttps://github.com/ncrousset/clean-code-php#table-of-contents
https://github.com/ncrousset/clean-code-php#dont-repeat-yourself-dry
DRYhttps://en.wikipedia.org/wiki/Don%27t_repeat_yourself
Classeshttps://github.com/ncrousset/clean-code-php#classes
⬆ back to tophttps://github.com/ncrousset/clean-code-php#table-of-contents
https://github.com/ncrousset/clean-code-php#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/ncrousset/clean-code-php#table-of-contents
Readmehttps://github.com/ncrousset/clean-code-php#readme-ov-file
MIT licensehttps://github.com/ncrousset/clean-code-php#MIT-1-ov-file
Activityhttps://github.com/ncrousset/clean-code-php/activity
0 forkshttps://github.com/ncrousset/clean-code-php/forks
Report repositoryhttps://github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Fncrousset%2Fclean-code-php&report=ncrousset+%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.