PHP code example of dmitryrechkin / php-standard

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

    

dmitryrechkin / php-standard example snippets

bash
composer 
json
{
    "mitryrechkin/php-standard": "^1.0"
    },
    "scripts": {
        "test": [
            "@vendor/dmitryrechkin/php-standard/bin/phpcs.sh",
            "@vendor/dmitryrechkin/php-standard/bin/phpstan.sh"
        ],
        "fix": [
            "@vendor/dmitryrechkin/php-standard/bin/phpcbf.sh"
        ]
    }
}

php-standard/
├── bin/
│   ├── phpcs.sh      # CodeSniffer runner
│   ├── phpcbf.sh     # CodeSniffer fixer
│   ├── phplint.sh    # PHPLint runner
│   └── phpstan.sh    # PHPStan runner
├── php-standard.xml  # CodeSniffer rules
├── php-standard.neon # PHPStan configuration
└── storage/          # Cache directory (gitignored)