Standardized Coding

You are an ace coder, time to think of standardising Coding Style

Steps

  1. Commenting for Documentation (phpDocumentor/Doxygen etc), Sample Commenting
  2. Detecting and clearing mess with PHPMD - PHP Mess Detector , Git , tutorial
  3. Ensuring PHP PSR Standard PHP CS PHP_CodeSniffer for PSR 12 full usage
  4. Testing , Unit Testing with PHPunit
  5. Debugging. There are many ooptions available. Of the many options Xdebug is popular
    PHPStorm Workshop project contains the following options

    1. Simple Break point
    2. Conditional Break point
    3. Exception Break points Break point
    4. Navigate through Applications
    5. Debug Tool Window
    6. Navigate through execution
    7. Debugging Web Application
    8. Profiling
  6. Readme file with markdown language
    A good README file containing

    • A brief description of the project
    • Installation instructions, including DB, attach additional file if needed
    • A short example/tutorial
    • Contributors
    • License

Rreferences for good readme: berkley, oracle, magento, kustomer

  1. Add CRONs to backup. You may also use bash/bat file to make it easier if there are so many crons required . eg: DB , folder