wiki

View on GitHub

PHP best practices

  1. Name Rules
  2. Ternary Operator
  3. Composer File
  4. .env File
  5. Comment
  6. If-else 2
  7. Unit-test
  8. Exception
  9. Function
  10. Standard function
  11. Psr-1
  12. Variable
  13. Classes, Properties and Methods
  14. Dependency Injection