PHP code example of vancodx / php-coding-style

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

    

vancodx / php-coding-style example snippets


 declare(strict_types=1);

use VanCodX\CodingStyle\PhpCsFixer\ConfigCreator;

$config = ConfigCreator::create();
$config->getFinder()->in(__DIR__);
return $config;

.php-cs-fixer.cache
.php-cs-fixer.php
.phpcs.xml