PHPackages                             thomasruiz/file-modifier - 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. thomasruiz/file-modifier

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

thomasruiz/file-modifier
========================

A great API to modify your files.

06PHP

Since Mar 5Pushed 11y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

PHP File Handler
================

[](#php-file-handler)

[![Author](https://camo.githubusercontent.com/090aeaf83b2c662d25241ca55907718583ae3dfdaae10ef065233bbfe2c84c48/687474703a2f2f696d672e736869656c64732e696f2f62616467652f617574686f722d54686f6d61732532305275697a2d626c75652e7376673f7374796c653d666c61742d737175617265)](https://twitter.com/thsruiz)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)

File Handler is a library that gives you the ability to generate and modify PHP files.

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

[](#installation)

```
composer require thomasruiz/file-modifier

```

Documentation
=============

[](#documentation)

Open a file and start playing with it!

```
$fileModifier = FileModifier::build();

$file = $fileModifier->open('path/to/file.php');
// $file is an instance of FileModifier/File/File
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3023617?v=4)[Thomas Ruiz](/maintainers/thomasruiz)[@thomasruiz](https://github.com/thomasruiz)

---

Top Contributors

[![thomasruiz](https://avatars.githubusercontent.com/u/3023617?v=4)](https://github.com/thomasruiz "thomasruiz (9 commits)")

### Embed Badge

![Health badge](/badges/thomasruiz-file-modifier/health.svg)

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

###  Alternatives

[knplabs/gaufrette

PHP library that provides a filesystem abstraction layer

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

Flysystem adapter for Google Cloud Storage

26320.6M30](/packages/superbalist-flysystem-google-storage)[illuminate/filesystem

The Illuminate Filesystem package.

15161.6M2.6k](/packages/illuminate-filesystem)[creocoder/yii2-flysystem

The flysystem extension for the Yii framework

2931.7M62](/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)[madnest/madzipper

Easier zip file handling for Laravel applications.

1382.3M6](/packages/madnest-madzipper)

PHPackages © 2026

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