PHPackages                             jelix/file-utilities - 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. jelix/file-utilities

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

jelix/file-utilities
====================

helpers to manipulate files, path and directories

v1.8.6(3mo ago)1118.3k↓18.8%15MITPHPPHP &gt;=5.3.3

Since Jun 18Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/jelix/file-utilities)[ Packagist](https://packagist.org/packages/jelix/file-utilities)[ Docs](http://jelix.org)[ RSS](/packages/jelix-file-utilities/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (2)Versions (10)Used By (5)

Some utilities to manipulate files, directories and paths.

Installation
============

[](#installation)

You can install it from Composer. In your project:

```
composer require "jelix/file-utilities"

```

Features
========

[](#features)

The `File` class allows you to read and write file contents. `write()` method allows changing the content of an existing file by not writing into it directly, avoiding write lock.

The `Directory` class allows to delete the content of a directory recursively, and even to do it without deleteting specific files.

For both `File` and `Directory` classes, chmod values can be set globally or specifically, when they create a file or a directory.

The `Path` class allows cleaning up a path, to resolve a path against another, or to get the shortest path between two paths. All of its methods work on path string and do not rely on the file system. So paths can represent files/directories that do not exist.

History
=======

[](#history)

Most of the methods of the first version come originally from the `jFile`class of Jelix 1.6.

###  Health Score

52

—

FairBetter than 96% of packages

Maintenance82

Actively maintained with recent releases

Popularity34

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity64

Established project with proven stability

 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 ~492 days

Recently: every ~873 days

Total

9

Last Release

92d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ae8142be36568660282368ce7c1eec904ecbc515ab5b58c759a487f3a6f1d114?d=identicon)[laurentj](/maintainers/laurentj)

![](https://www.gravatar.com/avatar/baa42c7323bbc9245b0c70f770031383879941a1a813f678f2835699fd50b375?d=identicon)[mdouchin](/maintainers/mdouchin)

---

Top Contributors

[![laurentj](https://avatars.githubusercontent.com/u/336034?v=4)](https://github.com/laurentj "laurentj (27 commits)")

---

Tags

helpersfiles

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/jelix-file-utilities/health.svg)

```
[![Health](https://phpackages.com/badges/jelix-file-utilities/health.svg)](https://phpackages.com/packages/jelix-file-utilities)
```

###  Alternatives

[league/flysystem

File storage abstraction for PHP

13.6k679.9M2.5k](/packages/league-flysystem)[league/flysystem-aws-s3-v3

AWS S3 filesystem adapter for Flysystem.

1.7k285.7M1.0k](/packages/league-flysystem-aws-s3-v3)[league/flysystem-local

Local filesystem adapter for Flysystem.

225267.1M89](/packages/league-flysystem-local)[mikehaertl/php-tmpfile

A convenience class for temporary files

9732.3M21](/packages/mikehaertl-php-tmpfile)[league/flysystem-memory

In-memory filesystem adapter for Flysystem.

8737.3M276](/packages/league-flysystem-memory)[creocoder/yii2-flysystem

The flysystem extension for the Yii framework

2931.7M63](/packages/creocoder-yii2-flysystem)

PHPackages © 2026

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