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 today

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

24

—

LowBetter than 31% of packages

Maintenance43

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

449d 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

[symfony/symfony

The Symfony PHP framework

31.4k87.2M2.2k](/packages/symfony-symfony)[symfony/http-kernel

Provides a structured process for converting a Request into a Response

8.1k869.4M8.8k](/packages/symfony-http-kernel)[symfony/cache

Provides extended PSR-6, PSR-16 (and tags) implementations

4.2k373.5M3.3k](/packages/symfony-cache)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k38.9k](/packages/matomo-matomo)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[ecotone/ecotone

Enterprise architecture layer for Laravel and Symfony — CQRS, Event Sourcing, Durable Workflows (Sagas, Orchestrators), Projections, and Outbox messaging via PHP attributes.

564576.7k53](/packages/ecotone-ecotone)

PHPackages © 2026

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