PHPackages                             micheldiemer/fs - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [File &amp; Storage](/categories/file-storage)
4. /
5. micheldiemer/fs

ActiveLibrary[File &amp; Storage](/categories/file-storage)

micheldiemer/fs
===============

Utility classes and functions to manipulate the FileSystem

1.0.0-beta21(1y ago)010MITPHPPHP &gt;=8.1

Since Mar 20Pushed 1y ago1 watchersCompare

[ Source](https://github.com/micheldiemer/php-composer-fs)[ Packagist](https://packagist.org/packages/micheldiemer/fs)[ RSS](/packages/micheldiemer-fs/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (2)Versions (6)Used By (0)

Utilisty classes for managing files
===================================

[](#utilisty-classes-for-managing-files)

Provides static methods :

- `Fs::in` to loop (optionnaly recursively) in all files in a folder
- `Fs::removeDir` and `Fs::removeAllFiles` to remove a directory (file by file)
- `Fs::findOne` to find a single file matching a pattern
- `Fs::grep` to find text in a file

Installation
------------

[](#installation)

```
composer require micheldiemer/fs
```

Contributions
-------------

[](#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.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance47

Moderate activity, may be stable

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~5 days

Total

5

Last Release

399d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ce1d52ea72fbe7cd1a3da217cc2acb59f3b89ea526fccafa50d06d77ee177555?d=identicon)[micheldiemer2](/maintainers/micheldiemer2)

---

Top Contributors

[![micheldiemer](https://avatars.githubusercontent.com/u/15021248?v=4)](https://github.com/micheldiemer "micheldiemer (10 commits)")

### Embed Badge

![Health badge](/badges/micheldiemer-fs/health.svg)

```
[![Health](https://phpackages.com/badges/micheldiemer-fs/health.svg)](https://phpackages.com/packages/micheldiemer-fs)
```

###  Alternatives

[sonata-project/media-bundle

Symfony SonataMediaBundle

4625.5M71](/packages/sonata-project-media-bundle)[puli/repository

A filesystem-like repository for storing arbitrary resources.

44287.6k32](/packages/puli-repository)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
