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

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

inanepain/file
==============

File utilities for local and remote files.

0.3.0(1y ago)1492UnlicensePHPPHP &gt;=8.1

Since Aug 4Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/inanepain/file)[ Packagist](https://packagist.org/packages/inanepain/file)[ Docs](https://github.com/inanepain/file)[ RSS](/packages/inanepain-file/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelogDependencies (2)Versions (10)Used By (2)

inanepain/file [![icon](./icon.png "inanepain/file")](./icon.png)
=================================================================

[](#inanepainfile-)

Table of Contents

- [![icon](./icon.png "inanepain/file") inanepain/file](#inanepainfile)
- [1. Install](#install)
- [2. Usage](#usage)

[![icon](./icon.png "inanepain/file")](./icon.png) inanepain/file
-----------------------------------------------------------------

[](#-inanepainfile)

File utilities for local and remote files.

1. Install
----------

[](#1-install)

composer

```
composer require inanepain/file
```

2. Usage
--------

[](#2-usage)

```
use Inane\File\File;

$file = new File('example.txt');

// Write content
$file->write('Hello World');

// Append content
$file->append(' - Appended text');

// Read content
echo $file->read(); // Hello World - Appended text

// Get file info
echo $file->getMimetype(); // text/plain
echo $file->getHumanSize(); // 27 B
```

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance71

Regular maintenance activity

Popularity10

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity52

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.

###  Release Activity

Cadence

Every ~142 days

Recently: every ~180 days

Total

8

Last Release

384d ago

### Community

Maintainers

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

---

Top Contributors

[![inanepain](https://avatars.githubusercontent.com/u/1823594?v=4)](https://github.com/inanepain "inanepain (61 commits)")

---

Tags

fileinane

### Embed Badge

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

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

###  Alternatives

[league/flysystem

File storage abstraction for PHP

13.6k639.1M2.2k](/packages/league-flysystem)[league/flysystem-aws-s3-v3

AWS S3 filesystem adapter for Flysystem.

1.6k263.6M790](/packages/league-flysystem-aws-s3-v3)[knplabs/gaufrette

PHP library that provides a filesystem abstraction layer

2.5k39.8M123](/packages/knplabs-gaufrette)[knplabs/knp-gaufrette-bundle

Allows to easily use the Gaufrette library in a Symfony project

72528.6M91](/packages/knplabs-knp-gaufrette-bundle)[league/flysystem-local

Local filesystem adapter for Flysystem.

226231.8M39](/packages/league-flysystem-local)[league/flysystem-memory

In-memory filesystem adapter for Flysystem.

8533.6M194](/packages/league-flysystem-memory)

PHPackages © 2026

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