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

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

j/fs
====

Filesystem library for php 7+

v0.0.4(6y ago)152MITPHPPHP &gt;=7.3

Since Jul 13Pushed 6y ago1 watchersCompare

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

READMEChangelog (5)Dependencies (3)Versions (6)Used By (0)

FileSystem for PHP 7.4+
=======================

[](#filesystem-for-php-74)

This is a simple oop library for php 7.4 or above

Why?
----

[](#why)

A lot is happening in the php world right now but there are some fundamental issues that forced the creation of this lib and the ones that are going to follow.

- capitalization of file names and directories
- adding directories just for the sake of composer
- adding namespaces and title casing just for the composer
- interfaces just for the sake of interface

Composer has done a great job but it has also killed the namesapcing feature the way it should be used.

This lib is just a small step towards a better and cleaner php-world.

Key features
------------

[](#key-features)

- Simplicity
- OOP
- DDD
- DRY

How to install
--------------

[](#how-to-install)

`composer require j/fs`

How to use
----------

[](#how-to-use)

Readable file

```
use J\FS; // or j\fs;

$rf = new ReadableFile("/some/readable/file.sample.txt");

// do whatever you want to do with this file

$rf->extesnion(); // will get txt

$rf->fullName(); // will get the file.sample.txt

$rf->mime(); // will get the mime, like text/plain

```

Join us
-------

[](#join-us)

Please give us a hand in creating a better php community

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 73.3% 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 ~6 days

Total

5

Last Release

2466d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/572f8b539bfbe5232a59292eb77276a42aea59943bba6819e93abf490400e12c?d=identicon)[zenhiro](/maintainers/zenhiro)

---

Top Contributors

[![ali-gro](https://avatars.githubusercontent.com/u/137016061?v=4)](https://github.com/ali-gro "ali-gro (11 commits)")[![mediaport](https://avatars.githubusercontent.com/u/50816228?v=4)](https://github.com/mediaport "mediaport (4 commits)")

---

Tags

filesystemphpphp-filesystem

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[knplabs/gaufrette

PHP library that provides a filesystem abstraction layer

2.5k39.8M123](/packages/knplabs-gaufrette)[google/cloud-storage

Cloud Storage Client for PHP

34390.8M123](/packages/google-cloud-storage)[illuminate/filesystem

The Illuminate Filesystem package.

15261.6M2.6k](/packages/illuminate-filesystem)[superbalist/flysystem-google-storage

Flysystem adapter for Google Cloud Storage

26320.6M30](/packages/superbalist-flysystem-google-storage)[creocoder/yii2-flysystem

The flysystem extension for the Yii framework

2931.7M61](/packages/creocoder-yii2-flysystem)[flowjs/flow-php-server

PHP library for handling chunk uploads. Works with flow.js html5 file uploads.

2451.6M15](/packages/flowjs-flow-php-server)

PHPackages © 2026

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