PHP code example of developer-samuel / php-codestats

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

    

developer-samuel / php-codestats example snippets

bash
php -r "
bash
# Count stats
php vendor/bin/count-stats

# Count files
php vendor/bin/count-files

# Count lines
php vendor/bin/count-lines

# Count characters
php vendor/bin/count-chars