FilterIterator implementation that filters files based on a list of suffixes, prefixes, and other exclusion criteria.
PHP
Latest commit 6150bf2 Jun 21, 2015 @sebastianbergmann Fix CS/WS issues

README.md

File_Iterator

Installation

To add File_Iterator as a local, per-project dependency to your project, simply add a dependency on phpunit/php-file-iterator to your project's composer.json file. Here is a minimal example of a composer.json file that just defines a dependency on File_Iterator 1.4:

{
    "require": {
        "phpunit/php-file-iterator": "~1.4"
    }
}