PHP code example of marac19901990 / php-quality-pack

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

    

marac19901990 / php-quality-pack example snippets

bash
echo "parameters:" > phpstan-baseline.neon
yaml
imports:
    - { resource: vendor/marac19901990/php-quality-pack/rules/grumphp.yml }

grumphp:
    tasks:
        phpcsfixer:
            diff: false  # Example: disable diff output
gitignore
.php-cs-fixer.cache