PHPackages                             leafs/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. [Framework](/categories/framework)
4. /
5. leafs/fs

ActiveLibrary[Framework](/categories/framework)

leafs/fs
========

Leaf file system module

v4.2(11mo ago)348.3k—2.3%2[2 issues](https://github.com/leafsphp/fs/issues)9MITPHPCI failing

Since Sep 20Pushed 10mo agoCompare

[ Source](https://github.com/leafsphp/fs)[ Packagist](https://packagist.org/packages/leafs/fs)[ Docs](https://leafphp.netlify.app/#/)[ GitHub Sponsors](https://github.com/leafsphp)[ Fund](https://opencollective.com/leaf)[ RSS](/packages/leafs-fs/feed)WikiDiscussions v4.x Synced 1mo ago

READMEChangelog (10)Dependencies (3)Versions (13)Used By (9)

 [![](https://camo.githubusercontent.com/e83224618735d048f0f70f04e02d7973a634a055e18d47fe22501e3a85e40b9f/68747470733a2f2f6c6561667068702e6e65746c6966792e6170702f6173736574732f696d672f6c656166332d6c6f676f2e706e67)](https://camo.githubusercontent.com/e83224618735d048f0f70f04e02d7973a634a055e18d47fe22501e3a85e40b9f/68747470733a2f2f6c6561667068702e6e65746c6966792e6170702f6173736574732f696d672f6c656166332d6c6f676f2e706e67)

Leaf FileSystem Module
======================

[](#leaf-filesystem-module)

Leaf PHP
========

[](#leaf-php)

[![Latest Stable Version](https://camo.githubusercontent.com/5a9c063b17043d528b23e11fac56b8429d20b4e2059b2ae35ada195577ae3eaa/68747470733a2f2f706f7365722e707567782e6f72672f6c656166732f66732f762f737461626c65)](https://packagist.org/packages/leafs/fs)[![Total Downloads](https://camo.githubusercontent.com/a3c7ec37af16fd8317f6a333362f4d358f702b7bd338d07f4583bd681642f7be/68747470733a2f2f706f7365722e707567782e6f72672f6c656166732f66732f646f776e6c6f616473)](https://packagist.org/packages/leafs/fs)[![License](https://camo.githubusercontent.com/200ae05df86306a91dc36732edd60e7ede98a98bd027bc0a307d3194f6d99cd1/68747470733a2f2f706f7365722e707567782e6f72672f6c656166732f66732f6c6963656e7365)](https://packagist.org/packages/leafs/fs)

Leaf's interface for interacting with your system's file system. A simple, yet powerful file system module for PHP.

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

[](#installation)

You can easily install Leaf using [Composer](https://getcomposer.org/).

```
composer require leafs/fs
```

💬 Stay In Touch
---------------

[](#-stay-in-touch)

- [Twitter](https://twitter.com/leafphp)
- [Join the forum](https://github.com/leafsphp/leaf/discussions/37)
- [Chat on discord](https://discord.com/invite/Pkrm9NJPE3)

📓 Learning Leaf 3
-----------------

[](#-learning-leaf-3)

- Leaf has a very easy to understand [documentation](https://leafphp.dev) which contains information on all operations in Leaf.
- You can also check out our [youtube channel](https://www.youtube.com/channel/UCllE-GsYy10RkxBUK0HIffw) which has video tutorials on different topics
- You can also learn from [codelabs](https://codelabs.leafphp.dev) and contribute as well.

😇 Contributing
--------------

[](#-contributing)

We are glad to have you. All contributions are welcome! To get started, familiarize yourself with our [contribution guide](https://leafphp.dev/community/contributing.html) and you'll be ready to make your first pull request 🚀.

To report a security vulnerability, you can reach out to [@mychidarko](https://twitter.com/mychidarko) or [@leafphp](https://twitter.com/leafphp) on twitter. We will coordinate the fix and eventually commit the solution in this project.

🤩 Sponsoring Leaf
-----------------

[](#-sponsoring-leaf)

Your cash contributions go a long way to help us make Leaf even better for you. You can sponsor Leaf and any of our packages on [open collective](https://opencollective.com/leaf) or check the [contribution page](https://leafphp.dev/support/) for a list of ways to contribute.

And to all our [existing cash/code contributors](https://leafphp.dev#sponsors), we love you all ❤️

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance40

Moderate activity, may be stable

Popularity34

Limited adoption so far

Community21

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 80% 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 ~124 days

Recently: every ~51 days

Total

12

Last Release

338d ago

Major Versions

v1.3.0 → v2.02024-11-07

v2.x-dev → v4.02024-11-22

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/29547806?v=4)[Mychi](/maintainers/Mychi)[@mychi](https://github.com/mychi)

---

Top Contributors

[![mychidarko](https://avatars.githubusercontent.com/u/26604242?v=4)](https://github.com/mychidarko "mychidarko (36 commits)")[![ibnsultan](https://avatars.githubusercontent.com/u/28471267?v=4)](https://github.com/ibnsultan "ibnsultan (4 commits)")[![Kristories](https://avatars.githubusercontent.com/u/774338?v=4)](https://github.com/Kristories "Kristories (3 commits)")[![Awilum](https://avatars.githubusercontent.com/u/477114?v=4)](https://github.com/Awilum "Awilum (1 commits)")[![screenfluent](https://avatars.githubusercontent.com/u/116732045?v=4)](https://github.com/screenfluent "screenfluent (1 commits)")

---

Tags

leafphpphpphpfilesystemframeworkfilesfsleaf

###  Code Quality

TestsPest

Code StylePHP CS Fixer

### Embed Badge

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

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

###  Alternatives

[leafs/leaf

Elegant PHP for modern developers

1.3k44.3k9](/packages/leafs-leaf)

PHPackages © 2026

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