phpunit/php-file-iterator
FilterIterator implementation that filters files based on a list of suffixes.
7.0.1
951M downloads/mo
#49 most downloaded on composer
sebastianbergmann/php-file-iterator
What this package is like to depend on
Last release 13 days ago
10 Aug 2026
Ships fairly regularly
a new release about every 5 months
Most releases are documented
notes for 31 of 35 stable releases
Nothing withdrawn
no release was ever pulled
14 years old
35 releases · first in 2012
4 releases in the last 12 months
see the full history below
Release timeline
35 releases · Sep 2012 to Aug 2026Releases
latest 35-
7.0.110 Aug 2026Release notes
Open source →Changed
- Hidden directories are now pruned from the traversal instead of being traversed only for their contents to be discarded
- Filtering by prefix and suffix no longer resolves the real path of each file
Fixed
- Files in hidden directories were not filtered on Windows because only
/was recognized as a directory separator - A "Globstar" pattern that begins with
**was not resolved correctly
Release notes
Open source →Changed
- Hidden directories are now pruned from the traversal instead of being traversed only for their contents to be discarded
- Filtering by prefix and suffix no longer resolves the real path of each file
Fixed
- Files in hidden directories were not filtered on Windows because only
/was recognized as a directory separator - A "Globstar" pattern that begins with
**was not resolved correctly
-
7.0.006 Feb 2026 -
6.0.102 Feb 2026 -
6.0.007 Feb 2025 -
5.1.102 Feb 2026 -
5.1.027 Aug 2024 -
5.0.103 Jul 2024Release notes
Open source →Changed
- This project now uses PHPStan instead of Psalm for static analysis
Release notes
Open source →Changed
- This project now uses PHPStan instead of Psalm for static analysis
-
5.0.002 Feb 2024 -
4.1.031 Aug 2023 -
4.0.207 May 2023 -
4.0.110 Feb 2023 -
4.0.003 Feb 2023Release notes
Open source →Removed
- The optional
$commonPathparameter ofSebastianBergmann\FileIterator\Facadeas well as the functionality it controlled has been removed - The
SebastianBergmann\FileIterator\FactoryandSebastianBergmann\FileIterator\Iteratorclasses are now marked@internal - This component is no longer supported on PHP 7.3, PHP 7.4 and PHP 8.0
- The optional
-
3.0.602 Dec 2021 -
3.0.528 Sep 2020Release notes
Open source →Changed
- Changed PHP version constraint in
composer.jsonfrom^7.3 || ^8.0to>=7.3
- Changed PHP version constraint in
-
3.0.411 Jul 2020Release notes
Open source →Fixed
- #67:
TypeErrorinSebastianBergmann\FileIterator\Iterator::accept()
- #67:
-
3.0.326 Jun 2020 -
3.0.215 Jun 2020 -
3.0.118 Apr 2020 -
3.0.007 Feb 2020 -
2.0.601 Mar 2024Nothing published for this version
-
2.0.502 Dec 2021Release notes
Open source →Changed
- #73: Micro performance improvements on parsing paths
Fixed
- #74: Document return type of
SebastianBergmann\FileIterator\Iterator::accept()so that Symfony'sDebugClassLoaderdoes not trigger a deprecation warning
-
2.0.419 Jul 2021Release notes
Open source →Changed
- Added
ReturnTypeWillChangeattribute toSebastianBergmann\FileIterator\Iterator::accept()because the return type of\FilterIterator::accept()will change in PHP 8.1
- Added
-
2.0.330 Nov 2020Release notes
Open source →Changed
- Changed PHP version constraint in
composer.jsonfrom^7.1to>=7.1
- Changed PHP version constraint in
-
2.0.213 Sep 2018Release notes
Open source →Fixed
- #48: Excluding an array that contains false ends up excluding the current working directory
-
2.0.111 Jun 2018 -
2.0.028 May 2018Release notes
Open source →Fixed
- #30: Exclude is not considered if it is a parent of the base path
Changed
- This component now uses namespaces
Removed
- This component is no longer supported on PHP 5.3, PHP 5.4, PHP 5.5, PHP 5.6, and PHP 7.0
-
1.4.527 Nov 2017 -
1.4.427 Nov 2017 -
1.4.324 Nov 2017 -
1.4.203 Oct 2016 -
1.4.121 Jun 2015 -
1.4.002 Apr 2015 -
1.3.410 Oct 2013Nothing published for this version
-
1.3.311 Oct 2012Nothing published for this version
-
1.3.222 Sep 2012Nothing published for this version