PHP code example of sylius-labs / coding-standard

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

    

sylius-labs / coding-standard example snippets


    $ecsConfig->import('vendor/sylius-labs/coding-standard/ecs.php');
    

use Symplify\EasyCodingStandard\Config\ECSConfig;

return static function (ECSConfig $ecsConfig): void {
    $ecsConfig->import(__DIR__ . '/vendor/sylius-labs/coding-standard/ecs.php');
};