PHP code example of emanuellopes / composer-vendor-cleaner

1. Go to this page and download the library: Download emanuellopes/composer-vendor-cleaner 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/ */

    

emanuellopes / composer-vendor-cleaner example snippets


php vendor/mediamonks/composer-vendor-cleaner/bin/clean

php vendor/mediamonks/composer-vendor-cleaner/bin/clean --dir /path/to/different/vendor/

php vendor/mediamonks/composer-vendor-cleaner/bin/clean --dry-run

php vendor/mediamonks/composer-vendor-cleaner/bin/clean --options /path/to/options.json