PackageTrack
Sign in Get early access

yiisoft/files

Helper to manage files and directories

2.1.0 1.6M downloads/mo #3438 most downloaded on Packagist yiisoft/files

What this package is like to depend on

Last release 8 months ago

01 Dec 2025

Release timing varies

gaps range from 3 weeks to 3.4 years

Nearly every release is documented

notes for 5 of 5 stable releases

Nothing withdrawn

no release was ever pulled

6 years old

5 releases · first in 2021

1 release in the last 12 months

see the full history below

Release timeline

5 releases · Feb 2021 to Dec 2025
2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 5
  1. 2.1.0 01 Dec 2025
    Release notes
    • New #47: Add filter option for FileHelper::clearDirectory() (@dood-, @vjik)
    • Chg #101, #102: Change PHP constraint in composer.json to 8.0 - 8.5 (@vjik)
    • Enh #72: In PathMatcher::only() and PathMatcher::except() methods move a type hints from annotation
      to signature (@xepozz)
    • Enh #87: Use FQN for built-in PHP functions, minor refactoring FileHelper and PathMatcher (@Tigrov)
    • Enh #99: Suppress warnings that emitted when path not exist on FileHelper::lastModifiedTime() usage (@vjik)
    • Bug #91: Restore error handler after handling exception (@vjik)

    Full changelog

    Open source →
    Release notes
    • New #47: Add filter option for FileHelper::clearDirectory() (@dood-, @vjik)
    • Chg #101, #102: Change PHP constraint in composer.json to 8.0 - 8.5 (@vjik)
    • Enh #72: In PathMatcher::only() and PathMatcher::except() methods move a type hints from annotation to signature (@xepozz)
    • Enh #87: Use FQN for built-in PHP functions, minor refactoring FileHelper and PathMatcher (@Tigrov)
    • Enh #99: Suppress warnings that emitted when path not exist on FileHelper::lastModifiedTime() usage (@vjik)
    • Bug #91: Restore error handler after handling exception (@vjik)
    Open source →
  2. 2.0.0 05 Jul 2022
    Release notes
    • New #59: Add beforeCopy, afterCopy callbacks for FileHelper::copyFile() and FileHelper::copyDirectory() (@Gerych1984)
    • Chg #64: Raise the minimum PHP version to 8.0 (@Gerych1984)
    • Chg #64: Allow RecursiveDirectoryIterator as argument in FileHelper::lastModifiedTime() (@Gerych1984)
    • Bug #58: Add missed return value and type for callback of set_error_handler() function (@vjik)
    Open source →
    Release notes
    • New #59: Add beforeCopy, afterCopy callbacks for FileHelper::copyFile() and FileHelper::copyDirectory() (@Gerych1984)
    • Chg #64: Raise the minimum PHP version to 8.0 (@Gerych1984)
    • Chg #64: Allow RecursiveDirectoryIterator as argument in FileHelper::lastModifiedTime() (@Gerych1984)
    • Bug #58: Add missed return value and type for callback of set_error_handler() function (@vjik)
    Open source →
  3. 1.0.2 11 Jan 2022
    Release notes
    • Bug #57: Fix return type for callback of set_error_handler() function (@devanych)
    Open source →
  4. 1.0.1 18 Dec 2021
    Release notes
    • Bug #55: Directory separator was not normalized in patterns (@darkdef)
    Open source →
  5. 1.0.0 10 Feb 2021
    Release notes
    • Initial release.
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive