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

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

lukashron/file-writer
=====================

Simple wrapper for write to file.

1.0.0(2y ago)06MITPHPPHP ^7.4 || ^8.0

Since Jul 5Pushed 2y ago1 watchersCompare

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

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

File writer
===========

[](#file-writer)

Simple wrapper for write to file.

Install
-------

[](#install)

```
  $ composer require lukashron/file-writer
```

Basic usage
-----------

[](#basic-usage)

```
    // Create file manager
    $fileManager = new FileManager();

    // File handling
    $file = $fileManager->get($testFile);
    $file->write($controlString);

    // And close...
    $fileManager->close($file);
```

Develop
-------

[](#develop)

```
    # PHPRector
    $ docker compose exec app php vendor/bin/rector process

    # Tests
    $ docker compose exec app php vendor/bin/phpunit
```

Copyright (c) 2023 Lukas Hron

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

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

Unknown

Total

1

Last Release

1041d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/09a470cd9f0683777740d9a4aaee55555c7df536713e2e21a4a36ba69fe73189?d=identicon)[lukashron](/maintainers/lukashron)

---

Top Contributors

[![lukashron](https://avatars.githubusercontent.com/u/38288500?v=4)](https://github.com/lukashron "lukashron (1 commits)")

---

Tags

filefile-managerfile-writerfile-writingphpfile writerfile managerphp file writer

###  Code Quality

TestsPHPUnit

Static AnalysisRector

### Embed Badge

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

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

###  Alternatives

[webimpress/safe-writer

Tool to write files safely, to avoid race conditions

37839.9M28](/packages/webimpress-safe-writer)[helios-ag/fm-elfinder-bundle

ElFinder bundle, adds ElFinder file manager to your Symfony project

2814.8M27](/packages/helios-ag-fm-elfinder-bundle)[artgris/filemanager-bundle

FileManager is a simple Multilingual File Manager Bundle for Symfony

182420.8k9](/packages/artgris-filemanager-bundle)[components/elfinder

ElFinder FileManager

551.9M1](/packages/components-elfinder)[jasekz/laradrop

File manager using Dropzone.js for Laravel 5 | 6 | 7 | 8

7310.3k1](/packages/jasekz-laradrop)[mwguerra/filemanager

A full-featured file manager package for Laravel and Filament v5 with dual operating modes, drag-and-drop uploads, S3/MinIO support, and comprehensive security features.

718.5k1](/packages/mwguerra-filemanager)

PHPackages © 2026

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