PHPackages                             myerscode/utilities-files - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. myerscode/utilities-files

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

myerscode/utilities-files
=========================

A PHP utility class that helps with common file tasks

2026.0.0(3mo ago)13.6k↑280.6%4MITPHPPHP ^8.5CI passing

Since Jan 26Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/myerscode/utilities-files)[ Packagist](https://packagist.org/packages/myerscode/utilities-files)[ RSS](/packages/myerscode-utilities-files/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (1)Dependencies (10)Versions (15)Used By (4)

Files Utility
=============

[](#files-utility)

> A PHP utility class that helps with common file tasks

[![Latest Stable Version](https://camo.githubusercontent.com/e5c5fb9668c179f91bd4166bd746f79cbbea2588f30016d81a35afb25d3de3c7/68747470733a2f2f706f7365722e707567782e6f72672f6d79657273636f64652f7574696c69746965732d66696c65732f762f737461626c65)](https://packagist.org/packages/myerscode/utilities-files)[![Total Downloads](https://camo.githubusercontent.com/a42b060e06232345aeb6b33d6e7084175782c06e9a70b414581067b180ab60fc/68747470733a2f2f706f7365722e707567782e6f72672f6d79657273636f64652f7574696c69746965732d66696c65732f646f776e6c6f616473)](https://packagist.org/packages/myerscode/utilities-files)[![PHP Version Require](https://camo.githubusercontent.com/bf2131939ce9cac68718a48e9749b77d76fde143d89fb60cf06839a7e06835b1/687474703a2f2f706f7365722e707567782e6f72672f6d79657273636f64652f7574696c69746965732d66696c65732f726571756972652f706870)](https://packagist.org/packages/myerscode/utilities-files)[![License](https://camo.githubusercontent.com/377f4bf64cf867bd4b48f5ae49ca0de948ee7880d703e093e3f8fb73c252e730/68747470733a2f2f706f7365722e707567782e6f72672f6d79657273636f64652f7574696c69746965732d66696c65732f6c6963656e7365)](https://packagist.org/packages/myerscode/utilities-files)[![Tests](https://github.com/myerscode/utilities-files/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/myerscode/utilities-files/actions/workflows/tests.yml)

Requirements
------------

[](#requirements)

- PHP &gt;= 8.5

Install
-------

[](#install)

You can install this package via composer:

```
composer require myerscode/utilities-files
```

Usage
-----

[](#usage)

Create an instance of the fluent interface by creating a new instance either via `new Utility($val)` or `Utility::make($val)`

```
$fileHelper = new Utility('./src/file.php');

$fileHelper = Utility::make('./src/file.php');
```

Methods
-------

[](#methods)

See all available methods in the [documentation](docs/methods.md).

Issues
------

[](#issues)

Bug reports and feature requests can be submitted on the [Github Issue Tracker](https://github.com/myerscode/utilities-files/issues).

Contributing
------------

[](#contributing)

We are very happy to receive pull requests to add functionality or fixes. Please read the Myerscode [contributing](https://github.com/myerscode/docs/blob/main/CONTRIBUTING.md) guide for information.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

55

—

FairBetter than 97% of packages

Maintenance86

Actively maintained with recent releases

Popularity24

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity78

Established project with proven stability

 Bus Factor1

Top contributor holds 94.2% 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 ~188 days

Recently: every ~377 days

Total

11

Last Release

90d ago

Major Versions

1.x-dev → 2.0.02022-02-04

2.1.0 → 2025.0.02025-02-02

2025.0.0 → 2026.0.02026-03-25

PHP version history (5 changes)1.0.0PHP ^7.3|^8.0

1.1.1PHP ^7.3|8.0.\*

2.0.0PHP ^8.1

2025.0.0PHP ^8.4

2026.0.0PHP ^8.5

### Community

Maintainers

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

---

Top Contributors

[![oniice](https://avatars.githubusercontent.com/u/2676321?v=4)](https://github.com/oniice "oniice (65 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (3 commits)")[![myerscf](https://avatars.githubusercontent.com/u/79988537?v=4)](https://github.com/myerscf "myerscf (1 commits)")

---

Tags

utilitylibrarypathfilesfluentdirectorychainingtoolkit

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/myerscode-utilities-files/health.svg)

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

###  Alternatives

[symfony/framework-bundle

Provides a tight integration between Symfony components and the Symfony full-stack framework

3.6k246.0M11.1k](/packages/symfony-framework-bundle)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

19564.8M1.6k](/packages/drupal-core)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.4M196](/packages/sulu-sulu)[friendsoftypo3/content-blocks

TYPO3 CMS Content Blocks - Content Types API | Define reusable components via YAML

101466.4k45](/packages/friendsoftypo3-content-blocks)[solspace/craft-freeform

The most flexible and user-friendly form building plugin!

53675.5k15](/packages/solspace-craft-freeform)[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6941.5M396](/packages/drupal-core-recommended)

PHPackages © 2026

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