yiisoft/files
Yii Files is a PHP 8+ utility package with FileHelper methods for common filesystem tasks: ensure/create directories with permissions, remove or clear directories, filter files via path matching, and other file and directory management helpers.
yiisoft/files is a lightweight PHP package that provides convenient filesystem utilities for managing files and directories. Centered around the static FileHelper, it streamlines common tasks like creating, cleaning, and removing directories with predictable behavior.
It supports safe directory operations and flexible cleanup via options such as symlink traversal control and path-based filtering (e.g., with PathMatcher), making it suitable for maintenance scripts and application tooling.
How can I help you explore Laravel packages today?