PHP code example of katten / purge

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

    

katten / purge example snippets

 bash
php purge.php purge:run <css file> <html file> <output file>
 bash
php purge.php purge:run --help
 bash
phpunit --bootstrap vendor/autoload.php tests/