PHPackages                             teedmaker/tmphp-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. [File &amp; Storage](/categories/file-storage)
4. /
5. teedmaker/tmphp-files

Abandoned → [teedmakerphp/files](/?search=teedmakerphp%2Ffiles)Library[File &amp; Storage](/categories/file-storage)

teedmaker/tmphp-files
=====================

A simple library to manipulate files

v1.2.1(7y ago)028MITPHP

Since May 3Pushed 7y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (10)Used By (0)

TMPHP Files
-----------

[](#tmphp-files)

This is a simple library to manipulate some files. For now we can do things like...

```
$file = new TMPHPFile('path/to/file.txt');
$file->increments("\n Hello new line!");
```

...to increments a line in one file.

Or you can do too, a simple function to verify if a file was be modified:

```
$file = new TMPHPFile('path/to/file.txt');
$modifiedAt = $file->getMTime();
if($modifiedAt > $timeForDatabase) {
    // then do it
}
```

Or yet, you can compare two files modified.

```
$original = new TMPHPFile('path/to/original.txt');
$cached   = new TMPHPFile('path/to/cached.txt');
if($original->modified()->isGreaterThan($cached)) {
    // cache the original again, cause he is old!
}
```

Well, it's all for now.

All methods will be describe after.

You can send us a `pull request`, or send a `issue` too.

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity66

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

Total

9

Last Release

2607d ago

### Community

Maintainers

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

---

Top Contributors

[![tadeubdev](https://avatars.githubusercontent.com/u/4499999?v=4)](https://github.com/tadeubdev "tadeubdev (42 commits)")

### Embed Badge

![Health badge](/badges/teedmaker-tmphp-files/health.svg)

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

###  Alternatives

[venveo/craft-compress

Create smart zip files from Craft assets on the fly

124.7k](/packages/venveo-craft-compress)

PHPackages © 2026

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