Utility classes and functions to manipulate the FileSystem
Installs: 10
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/micheldiemer/fs
Requires
- php: >=8.1
- micheldiemer/mbstring: ^1
- psr/log: ^3.0
This package is auto-updated.
Last update: 2025-12-12 01:07:32 UTC
README
Provides static methods :
Fs::into loop (optionnaly recursively) in all files in a folderFs::removeDirandFs::removeAllFilesto remove a directory (file by file)Fs::findOneto find a single file matching a patternFs::grepto find text in a file
Installation
composer require micheldiemer/fs
Contributions
phpdoc, phplint, phpstan and php-cs-fixer are required globally.
Contributions are welcome either as a GitHub issue or a PR to this repo.