PHP code example of drupol / php-conventions

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

    

drupol / php-conventions example snippets

shell
composer 
yaml
imports:
  - { resource: vendor/drupol/php-conventions/config/php73/grumphp.yml }
yaml
imports:
  - { resource: vendor/drupol/php-conventions/config/php73/grumphp.yml }

parameters:
  extra_tasks:
    infection:
      threads: 1
      test_framework: phpspec
      configuration: infection.json.dist
      min_msi: 60
      min_covered_msi: 60
  skip_tasks:
    - phpcsfixer