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

2025.0.0(1y ago)12.6k—0%4MITPHPPHP ^8.4CI passing

Since Jan 26Pushed 1y 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 1mo ago

READMEChangelogDependencies (5)Versions (13)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)[![License](https://camo.githubusercontent.com/377f4bf64cf867bd4b48f5ae49ca0de948ee7880d703e093e3f8fb73c252e730/68747470733a2f2f706f7365722e707567782e6f72672f6d79657273636f64652f7574696c69746965732d66696c65732f6c6963656e7365)](https://packagist.org/packages/myerscode/utilities-files)[![Tests](https://github.com/myerscode/utilities-files/workflows/tests/badge.svg?branch=main)](https://github.com/myerscode/utilities-files/workflows/tests/badge.svg?branch=main)

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

42

—

FairBetter than 90% of packages

Maintenance42

Moderate activity, may be stable

Popularity20

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity77

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

Recently: every ~274 days

Total

10

Last Release

461d ago

Major Versions

1.x-dev → 2.0.02022-02-04

2.1.0 → 2025.0.02025-02-02

PHP version history (4 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

### 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 (48 commits)")

---

Tags

utilitylibrarypathfilesfluentdirectorychainingtoolkit

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### 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

[maciejczyzewski/bottomline

A full-on PHP manipulation utility belt that provides support for working with arrays, objects, and iterables; a lodash or underscore equivalent for PHP.

477631.4k10](/packages/maciejczyzewski-bottomline)[solspace/craft-freeform

The most flexible and user-friendly form building plugin!

52664.9k12](/packages/solspace-craft-freeform)[jasonlam604/stringizer

Stringizer is a PHP string manipulation library with support for method chaining and multibyte handling

35110.5k1](/packages/jasonlam604-stringizer)[me-io/php-lodash

A full-on PHP manipulation utility-belt that provides support for the usual functional.

38100.0k](/packages/me-io-php-lodash)[logoscon/acf-plus

Common utility classes for the Advanced Custom Fields (Pro) plugin on WordPress.

1023.3k](/packages/logoscon-acf-plus)

PHPackages © 2026

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