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 2w 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

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity48

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

2511d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/52166031?v=4)[zenhiro](/maintainers/zenhiro)[@zenhiro](https://github.com/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

[venveo/craft-compress

Create smart zip files from Craft assets on the fly

124.7k](/packages/venveo-craft-compress)

PHPackages © 2026

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