⚙️
PHP Tools Hub
Tools
PHP
Quick
Contact
Home
>
Tutorials
>
PHP
>
PHP Best Practices
>
Code Organization
Code Organization Tutorials
10 tutorials found.
📘
Follow PHP Standards
Code Organization | Use PSR Standards | PHP
📘
Prevent Name Collisions
Code Organization | Use Namespaces | PHP
📘
One Job Per Class
Code Organization | Single Responsibility Principle | PHP
📘
Extract Common Code
Code Organization | Don't Repeat Yourself | PHP
📘
Don't Use Singletons
Code Organization | Use Dependency Injection | PHP
📘
Explain Why Not What
Code Organization | Comment Your Code | PHP
📘
Catch Type Errors Early
Code Organization | Use Type Hints | PHP
📘
Declare Return Types
Code Organization | Return Types | PHP
📘
declare strict_types 1
Code Organization | Use Strict Types | PHP
📘
Maximum 20 Lines
Code Organization | Keep Functions Small | PHP