PHPackages                             satmaelstorm/large-array-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. satmaelstorm/large-array-writer

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

satmaelstorm/large-array-writer
===============================

Large Array Writer (sample: sitemap writer)

2.0.1(7y ago)02.2kMITPHPPHP &gt;=7.1.0

Since May 19Pushed 7y agoCompare

[ Source](https://github.com/satmaelstorm/LargeArrayWriter)[ Packagist](https://packagist.org/packages/satmaelstorm/large-array-writer)[ RSS](/packages/satmaelstorm-large-array-writer/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (1)Versions (6)Used By (0)

LargeArrayWriter
================

[](#largearraywriter)

It was originally created for recording SiteMap files with their limitations of 50 MB and 50,000 lines per 1 file. Later useful for recording all sorts of feeds.

Simple Version (1.0)
--------------------

[](#simple-version-10)

### Usage

[](#usage)

```
$writer = new LargeArrayWriter(
"sitemap_%NUM%.xml",
"/tmp/" ,
true,
"\n",
"",
50000,
50 * 1000 * 1000,
1000
);
```

Add string to file:

```
$writer->addString("URLDATEdaily\n");
```

After all, finalize writer:

```
$files = $writer->finalize();
```

Extended Version (2.0)
----------------------

[](#extended-version-20)

### FileNumerator

[](#filenumerator)

### Saver

[](#saver)

### LAWriter

[](#lawriter)

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity62

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

Total

5

Last Release

2586d ago

Major Versions

1.02 → 2.0.a2018-06-08

### Community

Maintainers

![](https://www.gravatar.com/avatar/018dd235fee70afcc0c8c559fe1ba9e097dccfc11bbb69bda1a832999add6852?d=identicon)[satmaelstorm](/maintainers/satmaelstorm)

---

Top Contributors

[![satmaelstorm](https://avatars.githubusercontent.com/u/22241574?v=4)](https://github.com/satmaelstorm "satmaelstorm (2 commits)")

---

Tags

filefile writerSitemaplarge arrayhuge array

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/satmaelstorm-large-array-writer/health.svg)

```
[![Health](https://phpackages.com/badges/satmaelstorm-large-array-writer/health.svg)](https://phpackages.com/packages/satmaelstorm-large-array-writer)
```

###  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)[webimpress/safe-writer

Tool to write files safely, to avoid race conditions

37839.9M28](/packages/webimpress-safe-writer)

PHPackages © 2026

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