PHPackages                             traderinteractive/util-file - 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. traderinteractive/util-file

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

traderinteractive/util-file
===========================

A collection of file utility classes

v4.0.0(3y ago)2104.5k↓26.7%22MITPHPPHP ^7.3 || ^8.0

Since Oct 4Pushed 3y ago8 watchersCompare

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

READMEChangelog (5)Dependencies (2)Versions (6)Used By (2)

util-file-php
=============

[](#util-file-php)

[![Build Status](https://camo.githubusercontent.com/de9c9ae5388046b6d9fa4d336f48ceb79f27e8ed2888b74887a8658e8a3a6e26/68747470733a2f2f7472617669732d63692e6f72672f747261646572696e7465726163746976652f7574696c2d66696c652d7068702e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/traderinteractive/util-file-php)[![Code Quality](https://camo.githubusercontent.com/c7246bb52006a8a6d9f93112814f0bf7522012f12ae49a419628a65bbb9df90d/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f747261646572696e7465726163746976652f7574696c2d66696c652d7068702f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/traderinteractive/util-file-php/?branch=master)[![Coverage Status](https://camo.githubusercontent.com/1b6d42e0fb79732e1177ae956567ca92f4ef10559bcc661e68faafc99f3d0fae/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f747261646572696e7465726163746976652f7574696c2d66696c652d7068702f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/traderinteractive/util-file-php?branch=master)

[![Latest Stable Version](https://camo.githubusercontent.com/8b4742010740c84db56195d3d7d7411ab5e33bda8abb17e52b1659986d46d038/68747470733a2f2f706f7365722e707567782e6f72672f747261646572696e7465726163746976652f7574696c2d66696c652f762f737461626c65)](https://packagist.org/packages/traderinteractive/util-file)[![Latest Unstable Version](https://camo.githubusercontent.com/06264d4e55fa3c194b00ac0d9bdcc82345b5ee1b12355f19ad6335fad1958e6f/68747470733a2f2f706f7365722e707567782e6f72672f747261646572696e7465726163746976652f7574696c2d66696c652f762f756e737461626c65)](https://packagist.org/packages/traderinteractive/util-file)[![License](https://camo.githubusercontent.com/3e9a68127fd911393d6c09bb8e16e0137676c2b41e9129fd269cab90caa0dcfe/68747470733a2f2f706f7365722e707567782e6f72672f747261646572696e7465726163746976652f7574696c2d66696c652f6c6963656e7365)](https://packagist.org/packages/traderinteractive/util-file)

[![Total Downloads](https://camo.githubusercontent.com/4ede8143db852c4d48cce2378b2b29800400a385fad58b4507158a4b6876fd31/68747470733a2f2f706f7365722e707567782e6f72672f747261646572696e7465726163746976652f7574696c2d66696c652f646f776e6c6f616473)](https://packagist.org/packages/traderinteractive/util-file)[![Monthly Downloads](https://camo.githubusercontent.com/1e9b1993b9a77bb3542bf28c17dc9baf517b4fc8f0bef615c8b942af555c6a1a/68747470733a2f2f706f7365722e707567782e6f72672f747261646572696e7465726163746976652f7574696c2d66696c652f642f6d6f6e74686c79)](https://packagist.org/packages/traderinteractive/util-file)[![Daily Downloads](https://camo.githubusercontent.com/5f024e6afc36f4770af8559ee4a466431e41785ac0add97b94901249c5837a8b/68747470733a2f2f706f7365722e707567782e6f72672f747261646572696e7465726163746976652f7574696c2d66696c652f642f6461696c79)](https://packagist.org/packages/traderinteractive/util-file)

A collection of general file utilities for making common programming tasks easier.

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

[](#requirements)

util-file-php requires PHP 7.0 (or later).

\##Composer To add the library as a local, per-project dependency use [Composer](http://getcomposer.org)! Simply add a dependency on `traderinteractive/util-file` to your project's `composer.json` file such as:

```
composer require traderinteractive/util-file
```

Documentation
-------------

[](#documentation)

Found in the [source](src) itself, take a look!

Contact
-------

[](#contact)

Developers may be contacted at:

- [Pull Requests](https://github.com/traderinteractive/util-file-php/pulls)
- [Issues](https://github.com/traderinteractive/util-file-php/issues)

Project Build
-------------

[](#project-build)

With a checkout of the code get [Composer](http://getcomposer.org) in your PATH and run:

```
./vendor/bin/phpunit
./vendor/bin/phpcs
```

There is also a [docker](http://www.docker.com/)-based [fig](http://www.fig.sh/) configuration that will execute the build inside a docker container. This is an easy way to build the application:

```
fig run build
```

For more information on our build process, read through out our [Contribution Guidelines](.github/CONTRIBUTING.md).

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity34

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 73.7% 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 ~635 days

Total

5

Last Release

1333d ago

Major Versions

v1.8.2 → v2.0.02016-05-24

v2.0.1 → v3.0.02018-02-22

v3.0.0 → v4.0.02022-09-19

PHP version history (4 changes)v1.8.2PHP ~5.4 || ~7.0

v2.0.0PHP ~5.6 || ~7.0

v3.0.0PHP ^7.0

v4.0.0PHP ^7.3 || ^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/29952359?v=4)[Trader Interactive](/maintainers/traderinteractive)[@traderinteractive](https://github.com/traderinteractive)

---

Top Contributors

[![chadicus](https://avatars.githubusercontent.com/u/1182337?v=4)](https://github.com/chadicus "chadicus (28 commits)")[![chrisryan](https://avatars.githubusercontent.com/u/704326?v=4)](https://github.com/chrisryan "chrisryan (10 commits)")

---

Tags

utilityfiledirectory

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/traderinteractive-util-file/health.svg)

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

###  Alternatives

[adlawson/vfs

Virtual file system

300433.0k21](/packages/adlawson-vfs)[crysalead/dir

Recursive directory scanner to locate directories and/or files in a file system

13214.5k4](/packages/crysalead-dir)[icecave/temptation

Painless temporary files and directories that clean up after themselves.

129.3k2](/packages/icecave-temptation)

PHPackages © 2026

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