It cleans up any tests, descriptions, documentation, examples, etc.
composer require visavi/cleanup
./vendor/bin/cleanup
--help (-h) - Display help message
--include (-i) - include new rules pattern
--exclude (-e) - excludes from the pattern rule
--verbose (-v) - Increase the verbosity of messages
--path (-p) - Find on specific path
--dry (-d) - Run without actual remove
the list of arguments must be passed by a comma
./vendor/bin/cleanup -v --path symfony --include *.zip,*.rar --exclude doc,docs,test
The class is open-sourced software licensed under the MIT license