NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist · #46 most downloaded on Packagist
FilterIterator implementation that filters files based on a list of suffixes.
Last release 1 months ago
25 Aug 2026
Release timing varies
gaps range from 2 weeks to 1.2 years
Most releases are documented
notes for 33 of 37 stable releases
Nothing withdrawn
no release was ever pulled
14 years old
37 releases · first in 2012
Fixed #162 : Do not abort a traversal because of a directory that cannot be opened #163 : Do not exclude paths that only share a prefix with an exclud
Hidden directories are now pruned from the traversal instead of being traversed only for their contents to be discarded
/ was recognized as a directory separator** was not resolved correctlyOne column per quarter.
This component is no longer supported on PHP 8.3
Fixed #162 : Do not abort a traversal because of a directory that cannot be opened #163 : Do not exclude paths that only share a prefix with an exclud
Fixed #84 : Factory drops directories during wildcard resolution
Factory drops directories during wildcard resolutionThis component is no longer supported on PHP 8.2
Fixed #84 : Factory drops directories during wildcard resolution
Factory drops directories during wildcard resolutionAdded #83 : Support for "Globstar" pattern
This project now uses PHPStan instead of Psalm for static analysis
This component is no longer supported on PHP 8.1
### Added * #81: Accept array|string $paths in Facade::getFilesAsArray()
array|string $paths in Facade::getFilesAsArray()### Fixed * #80: Ignore unresolvable symbolic link
### Fixed * #67: Excluded directories are traversed unnecessarily
The optional $commonPath parameter of SebastianBergmann\FileIterator\Facade as well as the functionality it controlled has been removed
$commonPath parameter of SebastianBergmann\FileIterator\Facade as well as the functionality it controlled has been removedSebastianBergmann\FileIterator\Factory and SebastianBergmann\FileIterator\Iterator classes are now marked @internal### Changed * #73: Micro performance improvements on parsing paths
Changed PHP version constraint in composer.json from ^7.3 || ^8.0 to >=7.3
composer.json from ^7.3 || ^8.0 to >=7.3### Fixed * #67: TypeError in SebastianBergmann\FileIterator\Iterator::accept()
TypeError in SebastianBergmann\FileIterator\Iterator::accept()This component is now supported on PHP 8
Tests etc. are now ignored for archive exports
### Fixed * #64: Release tarball contains Composer PHAR
This component is no longer supported on PHP 7.1 and PHP 7.2
Nothing published for this version
### Changed * #73: Micro performance improvements on parsing paths ### Fixed * #74: Document return type of SebastianBergmann\FileIterator\Iterator::a
Added ReturnTypeWillChange attribute to SebastianBergmann\FileIterator\Iterator::accept() because the return type of \FilterIterator::accept() will ch
ReturnTypeWillChange attribute to SebastianBergmann\FileIterator\Iterator::accept() because the return type of \FilterIterator::accept() will change in PHP 8.1Changed PHP version constraint in composer.json from ^7.1 to >=7.1
composer.json from ^7.1 to >=7.1### Fixed * #48: Excluding an array that contains false ends up excluding the current working directory
### Fixed * #46: Regression with hidden parent directory
This component now uses namespaces
### Fixed * #37: Regression caused by fix for #30
### Fixed * #30: Exclude is not considered if it is a parent of the base path
### Fixed * #34: Factory should use canonical directory names
No changes
No changes
No changes
No changes
[7.0.2]: https://github.com/sebastianbergmann/php-file-iterator/compare/7.0.1...7.0.2 [7.0.1]: https://github.com/sebastianbergmann/php-file-iterator/
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →