Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Files Laravel Package

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.

View on GitHub
Deep Wiki
Context7

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.

  • Ensure directories exist (optionally setting permissions)
  • Remove directories recursively or clear contents without deleting the folder
  • Filter cleanup operations with include/exclude patterns
  • Control behavior around symlinks during traversal
  • Simple, static API targeting PHP 8.0–8.5
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport