René's URL Explorer Experiment


Title: GitHub - naywin-programmer/clean-code-php: :bathtub: Clean Code concepts adapted for PHP

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

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

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

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

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

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

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/:user_id/:repository
route-controllerfiles
route-actiondisambiguate
fetch-noncev2:eb0b6558-8ee5-f954-10e2-2b508954868c
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-idB9F6:304AB8:F576A3:1575125:69723021
html-safe-nonce35a70a0abaf688a9ef5ccb7ed545033711b0695c32b8db7f19eaf7a901f1783c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOUY2OjMwNEFCODpGNTc2QTM6MTU3NTEyNTo2OTcyMzAyMSIsInZpc2l0b3JfaWQiOiI1NDUzMTk3NjcyNzUzNTIwOTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac414ff969c4fdd2867387141625266cf79b378ee766689e75efd5da14127aa8e4
hovercard-subject-tagrepository:165775981
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/naywin-programmer/clean-code-php
twitter:imagehttps://opengraph.githubassets.com/5fd762635c3b7c23821b6dde3bf7ff48b88f00006b4dcf7b3d4a3ace2f34664f/naywin-programmer/clean-code-php
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5fd762635c3b7c23821b6dde3bf7ff48b88f00006b4dcf7b3d4a3ace2f34664f/naywin-programmer/clean-code-php
og:image:alt:bathtub: Clean Code concepts adapted for PHP. Contribute to naywin-programmer/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
None2c16db4e575031f6e3be03e0437c1ab663e0b4643ba5cbbfba48c1e4fc056a11
turbo-cache-controlno-preview
go-importgithub.com/naywin-programmer/clean-code-php git https://github.com/naywin-programmer/clean-code-php.git
octolytics-dimension-user_id21998283
octolytics-dimension-user_loginnaywin-programmer
octolytics-dimension-repository_id165775981
octolytics-dimension-repository_nwonaywin-programmer/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
releasea12ab519e1537fa080535ea933f81d4fcef34da0
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnaywin-programmer%2Fclean-code-php
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
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
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
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
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/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://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnaywin-programmer%2Fclean-code-php
Sign up https://patch-diff.githubusercontent.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=naywin-programmer%2Fclean-code-php
Reloadhttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php
Reloadhttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php
Reloadhttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php
naywin-programmer https://patch-diff.githubusercontent.com/naywin-programmer
clean-code-phphttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php
piotrplenik/clean-code-phphttps://patch-diff.githubusercontent.com/piotrplenik/clean-code-php
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fnaywin-programmer%2Fclean-code-php
Fork 0 https://patch-diff.githubusercontent.com/login?return_to=%2Fnaywin-programmer%2Fclean-code-php
Star 0 https://patch-diff.githubusercontent.com/login?return_to=%2Fnaywin-programmer%2Fclean-code-php
MIT license https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php/blob/master/LICENSE
0 stars https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php/stargazers
2.3k forks https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php/forks
Branches https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php/branches
Tags https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php/tags
Activity https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php/activity
Star https://patch-diff.githubusercontent.com/login?return_to=%2Fnaywin-programmer%2Fclean-code-php
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fnaywin-programmer%2Fclean-code-php
Code https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php
Pull requests 0 https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php/pulls
Actions https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php/actions
Projects 0 https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php/projects
Security Uh oh! There was an error while loading. Please reload this page. https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php/security
Please reload this pagehttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php
Insights https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php/pulse
Code https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php
Pull requests https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php/pulls
Actions https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php/actions
Projects https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php/projects
Security https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php/security
Insights https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php/pulse
Brancheshttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php/branches
Tagshttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php/tags
https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php/branches
https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php/tags
312 Commitshttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php/commits/master/
https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php/commits/master/
.gitattributeshttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php/blob/master/.gitattributes
.gitattributeshttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php/blob/master/.gitattributes
.travis-build.phphttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php/blob/master/.travis-build.php
.travis-build.phphttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php/blob/master/.travis-build.php
.travis.ymlhttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php/blob/master/.travis.yml
.travis.ymlhttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php/blob/master/.travis.yml
LICENSEhttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php/blob/master/LICENSE
LICENSEhttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php/blob/master/LICENSE
README.mdhttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php/blob/master/README.md
README.mdhttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php/blob/master/README.md
READMEhttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php
MIT licensehttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php
https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#clean-code-php
https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#table-of-contents
Introductionhttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#introduction
Variableshttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#variables
Use meaningful and pronounceable variable nameshttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#use-meaningful-and-pronounceable-variable-names
Use the same vocabulary for the same type of variablehttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#use-the-same-vocabulary-for-the-same-type-of-variable
Use searchable names (part 1)https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#use-searchable-names-part-1
Use searchable names (part 2)https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#use-searchable-names-part-2
Use explanatory variableshttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#use-explanatory-variables
Avoid nesting too deeply and return early (part 1)https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#avoid-nesting-too-deeply-and-return-early-part-1
Avoid nesting too deeply and return early (part 2)https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#avoid-nesting-too-deeply-and-return-early-part-2
Avoid Mental Mappinghttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#avoid-mental-mapping
Don't add unneeded contexthttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#dont-add-unneeded-context
Use default arguments instead of short circuiting or conditionalshttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#use-default-arguments-instead-of-short-circuiting-or-conditionals
Comparisonhttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#comparison
Use identical comparisonhttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#use-identical-comparison
Functionshttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#functions
Function arguments (2 or fewer ideally)https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#function-arguments-2-or-fewer-ideally
Functions should do one thinghttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#functions-should-do-one-thing
Function names should say what they dohttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#function-names-should-say-what-they-do
Functions should only be one level of abstractionhttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#functions-should-only-be-one-level-of-abstraction
Don't use flags as function parametershttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#dont-use-flags-as-function-parameters
Avoid Side Effectshttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#avoid-side-effects
Don't write to global functionshttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#dont-write-to-global-functions
Don't use a Singleton patternhttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#dont-use-a-singleton-pattern
Encapsulate conditionalshttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#encapsulate-conditionals
Avoid negative conditionalshttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#avoid-negative-conditionals
Avoid conditionalshttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#avoid-conditionals
Avoid type-checking (part 1)https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#avoid-type-checking-part-1
Avoid type-checking (part 2)https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#avoid-type-checking-part-2
Remove dead codehttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#remove-dead-code
Objects and Data Structureshttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#objects-and-data-structures
Use object encapsulationhttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#use-object-encapsulation
Make objects have private/protected membershttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#make-objects-have-privateprotected-members
Classeshttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#classes
Prefer composition over inheritancehttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#prefer-composition-over-inheritance
Avoid fluent interfaceshttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#avoid-fluent-interfaces
Prefer final classeshttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#prefer-final-classes
SOLIDhttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#solid
Single Responsibility Principle (SRP)https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#single-responsibility-principle-srp
Open/Closed Principle (OCP)https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#openclosed-principle-ocp
Liskov Substitution Principle (LSP)https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#liskov-substitution-principle-lsp
Interface Segregation Principle (ISP)https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#interface-segregation-principle-isp
Dependency Inversion Principle (DIP)https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#dependency-inversion-principle-dip
Don’t repeat yourself (DRY)https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#dont-repeat-yourself-dry
Translationshttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#translations
https://patch-diff.githubusercontent.com/naywin-programmer/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://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#variables
https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#use-meaningful-and-pronounceable-variable-names
⬆ back to tophttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#table-of-contents
https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#use-the-same-vocabulary-for-the-same-type-of-variable
⬆ back to tophttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#table-of-contents
https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#use-searchable-names-part-1
https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#use-searchable-names-part-2
⬆ back to tophttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#table-of-contents
https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#use-explanatory-variables
⬆ back to tophttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#table-of-contents
https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#avoid-nesting-too-deeply-and-return-early-part-1
⬆ back to tophttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#table-of-contents
https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#avoid-nesting-too-deeply-and-return-early-part-2
⬆ back to tophttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#table-of-contents
https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#avoid-mental-mapping
⬆ back to tophttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#table-of-contents
https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#dont-add-unneeded-context
⬆ back to tophttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#table-of-contents
https://patch-diff.githubusercontent.com/naywin-programmer/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://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#table-of-contents
https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#comparison
identical comparisonhttp://php.net/manual/en/language.operators.comparison.php
https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#use-identical-comparison
⬆ back to tophttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#table-of-contents
https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#functions
https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#function-arguments-2-or-fewer-ideally
⬆ back to tophttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#table-of-contents
https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#functions-should-do-one-thing
⬆ back to tophttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#table-of-contents
https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#function-names-should-say-what-they-do
⬆ back to tophttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#table-of-contents
https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#functions-should-only-be-one-level-of-abstraction
⬆ back to tophttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#table-of-contents
https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#dont-use-flags-as-function-parameters
⬆ back to tophttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#table-of-contents
https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#avoid-side-effects
⬆ back to tophttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#table-of-contents
https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#dont-write-to-global-functions
⬆ back to tophttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#table-of-contents
https://patch-diff.githubusercontent.com/naywin-programmer/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://patch-diff.githubusercontent.com/naywin-programmer/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://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#table-of-contents
https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#encapsulate-conditionals
⬆ back to tophttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#table-of-contents
https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#avoid-negative-conditionals
⬆ back to tophttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#table-of-contents
https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#avoid-conditionals
⬆ back to tophttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#table-of-contents
https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#avoid-type-checking-part-1
⬆ back to tophttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#table-of-contents
https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#avoid-type-checking-part-2
type declarationhttp://php.net/manual/en/functions.arguments.php#functions.arguments.type-declaration
⬆ back to tophttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#table-of-contents
https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#remove-dead-code
⬆ back to tophttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#table-of-contents
https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#objects-and-data-structures
https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#use-object-encapsulation
Open/Closedhttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#openclosed-principle-ocp
⬆ back to tophttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#table-of-contents
https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#make-objects-have-privateprotected-members
Jenga effecthttp://www.urbandictionary.com/define.php?term=Jengaphobia&defid=2494196
blog posthttp://fabien.potencier.org/pragmatism-over-theory-protected-vs-private.html
Fabien Potencierhttps://github.com/fabpot
⬆ back to tophttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#table-of-contents
https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#classes
https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#prefer-composition-over-inheritance
Design Patternshttps://en.wikipedia.org/wiki/Design_Patterns
⬆ back to tophttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#table-of-contents
https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#avoid-fluent-interfaces
Fluent interfacehttps://en.wikipedia.org/wiki/Fluent_interface
Method chaininghttps://en.wikipedia.org/wiki/Method_chaining
PHPUnit Mock Builderhttps://phpunit.de/manual/current/en/test-doubles.html
Doctrine Query Builderhttp://docs.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/query-builder.html
Encapsulationhttps://en.wikipedia.org/wiki/Encapsulation_%28object-oriented_programming%29
Decoratorshttps://en.wikipedia.org/wiki/Decorator_pattern
mockhttps://en.wikipedia.org/wiki/Mock_object
blog posthttps://ocramius.github.io/blog/fluent-interfaces-are-evil/
Marco Pivettahttps://github.com/Ocramius
⬆ back to tophttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#table-of-contents
https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#prefer-final-classes
compositionhttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#prefer-composition-over-inheritance
Single Responsibility Patternhttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#single-responsibility-principle-srp
the blog posthttps://ocramius.github.io/blog/when-to-declare-classes-final/
Marco Pivetta (Ocramius)https://ocramius.github.io/
⬆ back to tophttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#table-of-contents
https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#solid
S: Single Responsibility Principle (SRP)https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#single-responsibility-principle-srp
O: Open/Closed Principle (OCP)https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#openclosed-principle-ocp
L: Liskov Substitution Principle (LSP)https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#liskov-substitution-principle-lsp
I: Interface Segregation Principle (ISP)https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#interface-segregation-principle-isp
D: Dependency Inversion Principle (DIP)https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#dependency-inversion-principle-dip
https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#single-responsibility-principle-srp
⬆ back to tophttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#table-of-contents
https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#openclosed-principle-ocp
⬆ back to tophttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#table-of-contents
https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#liskov-substitution-principle-lsp
⬆ back to tophttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#table-of-contents
https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#interface-segregation-principle-isp
⬆ back to tophttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#table-of-contents
https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#dependency-inversion-principle-dip
⬆ back to tophttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#table-of-contents
https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#dont-repeat-yourself-dry
DRYhttps://en.wikipedia.org/wiki/Don%27t_repeat_yourself
Classeshttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#classes
⬆ back to tophttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#table-of-contents
https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#translations
php-cpm/clean-code-phphttps://github.com/php-cpm/clean-code-php
peter-gribanov/clean-code-phphttps://github.com/peter-gribanov/clean-code-php
fikoborquez/clean-code-phphttps://github.com/fikoborquez/clean-code-php
fabioars/clean-code-phphttps://github.com/fabioars/clean-code-php
jeanjar/clean-code-phphttps://github.com/jeanjar/clean-code-php/tree/pt-br
panuwizzle/clean-code-phphttps://github.com/panuwizzle/clean-code-php
errorname/clean-code-phphttps://github.com/errorname/clean-code-php
viethuongdev/clean-code-phphttps://github.com/viethuongdev/clean-code-php
yujineeee/clean-code-phphttps://github.com/yujineeee/clean-code-php
anilozmen/clean-code-phphttps://github.com/anilozmen/clean-code-php
⬆ back to tophttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#table-of-contents
Readme https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#readme-ov-file
MIT license https://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php#MIT-1-ov-file
Please reload this pagehttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php
Activityhttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php/activity
0 starshttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php/stargazers
0 watchinghttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php/watchers
0 forkshttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php/forks
Report repository https://patch-diff.githubusercontent.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Fnaywin-programmer%2Fclean-code-php&report=naywin-programmer+%28user%29
Releaseshttps://patch-diff.githubusercontent.com/naywin-programmer/clean-code-php/releases
Packages 0https://patch-diff.githubusercontent.com/users/naywin-programmer/packages?repo_name=clean-code-php
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.