PHPackages                             php-packages/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. php-packages/fs

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

php-packages/fs
===============

File and directory management in PHP 5.5+ done right.

0.1.0(11y ago)2162MITPHPPHP &gt;=5.5.0

Since Apr 5Pushed 11y agoCompare

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

READMEChangelogDependencies (3)Versions (1)Used By (0)

Fs 0.1.0 [![Build Status](https://camo.githubusercontent.com/5a7a9e8bd289d4a128089c4ff88b43fae13d1c0b663a5028da89d910adeb203c/68747470733a2f2f7472617669732d63692e6f72672f7068702d7061636b616765732f66732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/php-packages/fs)
=====================================================================================================================================================================================================================================================================================

[](#fs-010-)

File and directory management in PHP 5.5+ done right. Check out [the wiki](https://github.com/php-packages/fs/wiki) for more info!

Path
----

[](#path)

- \#path
- \#short
- \#shorten
- \#skipName
- \#parts
- \#asFile
- \#isFile
- \#asDir
- \#isDir
- \#join
- \#full
- \#resolve
- \#isReadable
- \#isRelative
- \#isAbsolute
- \#replica

Dir
---

[](#dir)

- \#isEmpty
- \#contains
- \#all
- \#files
- \#dirs
- \#item
- \#remove
- \#copyFrom
- \#copyTo
- \#moveTo
- \#make
- \#reload

File
----

[](#file)

- \#isEmpty
- \#size
- \#lines
- \#contains
- \#read
- \#load
- \#rewrite
- \#append
- \#prepend
- \#truncate
- \#matches
- \#search
- \#remove
- \#copyTo
- \#moveTo
- \#lastModified

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

4061d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/270a6b451bb75c99beae25836d16453daf58531cfac6baecd8d0a72059baa44b?d=identicon)[bound1ess](/maintainers/bound1ess)

---

Top Contributors

[![bound1ess](https://avatars.githubusercontent.com/u/10074992?v=4)](https://github.com/bound1ess "bound1ess (87 commits)")

---

Tags

apifilesystemlibraryfiledirectory

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[league/flysystem-aws-s3-v3

AWS S3 filesystem adapter for Flysystem.

1.6k263.6M790](/packages/league-flysystem-aws-s3-v3)

PHPackages © 2026

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