PHP code example of halleck45 / ast-metrics

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

    

halleck45 / ast-metrics example snippets

bash
php vendor/bin/ast-metrics analyze --ci src
bash
php vendor/bin/ast-metrics self-update