PHP code example of genealabs / php-coding-standards

1. Go to this page and download the library: Download genealabs/php-coding-standards library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

genealabs / php-coding-standards example snippets


  "post-update-cmd" : [
      "tools/phpcs --config-set installed_paths vendor/genealabs/php-coding-standards/src/GeneaLabs"
  ]
  

  <ruleset>
      <rule ref="./vendor/genealabs/php-coding-standards/src/GeneaLabs/ruleset.xml"/>
  </ruleset>