sebastianbergmann/php-file-iterator

FilterIterator implementation that filters files based on a list of suffixes, prefixes, and other exclusion criteria.

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 40 minutes ago
Added to GitGenius on September 8th, 2026
Created on November 5th, 2009
Open Issues & Pull Requests: 3 (+0)
GitHub issues: Enabled
Number of forks: 47
Total Stargazers: 7,476 (+0)
Total Subscribers: 8 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 0.4 hours
Mean response time: 0.4 hours
90th percentile: 0.4 hours
Tracked items: 1

Most active contributors

Sign in to see contributor activity.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 1
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 114 days
Stale 30+ days: 0
Stale 90+ days: 0

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • bug (1)
  • type/dependencies (1)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

php-file-iterator is a FilterIterator implementation that filters files based on a list of suffixes, prefixes, and other exclusion criteria.

The tool solves the problem of selectively iterating over files in a directory tree according to specific matching rules. It works by wrapping PHP's standard iteration mechanisms and applying filters for file suffixes, prefixes, and exclusion patterns, allowing developers to process only the files that meet their criteria without manually checking each file against conditions.

This library is most useful for build tools, test runners, and other utilities that need to discover and process subsets of files in a project. It suits projects where file selection logic would otherwise be scattered throughout the codebase or implemented repeatedly. The tool is designed as a dependency for other packages rather than as a standalone application, making it appropriate for inclusion in larger frameworks or testing suites.

The project maintains a focused scope with regular maintenance activity. Releases are issued to address issues and incorporate improvements. The codebase receives ongoing attention to ensure compatibility and reliability across PHP environments.