Scan a project directory and collect only .php files for processing in a build or code analysis tool.
Filter out test fixture files starting with specific prefixes when assembling a PHPUnit test suite.
Use as a dependency in a custom PHP testing or static analysis tool that needs recursive directory scanning.
This is a small PHP library that helps developers scan directories and filter files based on rules you define. You can tell it to only include files with certain endings (like ".php" or ".txt"), exclude files that start with specific prefixes, or skip files that match other criteria you set up. It is mainly used as a helper inside testing tools, including PHPUnit, which is a widely used PHP testing framework. Most PHP developers encounter this library indirectly when running automated tests rather than using it directly in application code. Installation is handled through Composer, the standard PHP package manager. You add it to your project with a single command. The README is short and covers only installation basics, so the full feature set is documented elsewhere in the package itself.
← sebastianbergmann on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.