PHP code example of mainlycode / coding-standards

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

    

mainlycode / coding-standards example snippets


$ ./vendor/bin/php-cs-fixer fix --dry-run --diff --config-file=vendor/mainlycode/coding-standard/.php_cs

$ ./vendor/bin/php-cs-fixer fix --diff --config-file=vendor/mainlycode/coding-standard/.php_cs