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

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

labcake/file
============

A simple class for creating temporary files in PHP

013PHP

Since May 28Pushed 7y agoCompare

[ Source](https://github.com/LabCake/File)[ Packagist](https://packagist.org/packages/labcake/file)[ RSS](/packages/labcake-file/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

File
====

[](#file)

A simple class for creating temporary files in PHP

Usage example

```
$file = new File("Some content"); // Create a temporary file with specified content
$file->setContent("Some other content"); // Set file content
$file->saveAs("some_file.txt"); // Save file
```

Documentation not yet complete

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community6

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://www.gravatar.com/avatar/988667d628a3f5790a4231ecc986643df8915df9174301287156368fe208c7da?d=identicon)[LabCake](/maintainers/LabCake)

---

Top Contributors

[![Wuild](https://avatars.githubusercontent.com/u/381189?v=4)](https://github.com/Wuild "Wuild (6 commits)")

---

Tags

filefile-managerfilesphp

### Embed Badge

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

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

###  Alternatives

[knplabs/gaufrette

PHP library that provides a filesystem abstraction layer

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

Cloud Storage Client for PHP

34390.8M125](/packages/google-cloud-storage)[illuminate/filesystem

The Illuminate Filesystem package.

15261.6M2.6k](/packages/illuminate-filesystem)[superbalist/flysystem-google-storage

Flysystem adapter for Google Cloud Storage

26320.6M30](/packages/superbalist-flysystem-google-storage)[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)

PHPackages © 2026

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