PHP code example of perceptiontech / php-coding-standard

1. Go to this page and download the library: Download perceptiontech/php-coding-standard 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/ */

    

perceptiontech / php-coding-standard example snippets

bash
    $ composer global 
bash
    $ phpcs --config-set installed_paths ~/.composer/vendor/perceptiontech/php-coding-standard
    
bash
    $ phpcs --config-set installed_paths ~/.composer/vendor/perceptiontech/php-coding-standard,/path/to/already/insatlled/standard/