PHPackages                             alex-yashin/php-csv-timeseries - 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. [PDF &amp; Document Generation](/categories/documents)
4. /
5. alex-yashin/php-csv-timeseries

ActiveLibrary[PDF &amp; Document Generation](/categories/documents)

alex-yashin/php-csv-timeseries
==============================

1.0.0(5y ago)05MITPHPPHP &gt;=5.4.0

Since Sep 10Pushed 3y ago1 watchersCompare

[ Source](https://github.com/alex-yashin/php-csv-timeseries)[ Packagist](https://packagist.org/packages/alex-yashin/php-csv-timeseries)[ Docs](http://pinahq.com)[ RSS](/packages/alex-yashin-php-csv-timeseries/feed)WikiDiscussions master Synced 1mo ago

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

php-csv-timeseries
==================

[](#php-csv-timeseries)

Usage
-----

[](#usage)

```
$writer = new \CSVTimeseries\Writer;
$writer->to(__DIR__ . '/data/');
$i = 1;
while ($i < 1000) {
    //it adds current timestamp to the record and saves the record to a buffer
    $writer->add(['test', $i++]);
}
//it writers the buffer to a disk and creates single file per day,
//for example: "data/2020/20200931.csv"
//save call is optional. script shutdown triggers it.
$writer->save();

$reader = new \CSVTimeseries\Reader;
$reader->from(__DIR__ . '/data/');
while ($line = $reader->next()) {
    //first cell is timestamp, for example: 2020-08-28T19:25:09+00:00
    $ts = array_shift($line);
    //print assigned data
    print_r($line);
}

```

###  Health Score

22

—

LowBetter than 23% 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

2067d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a1ed878b0d36cc3da38b5748f2eb7ca26a1934d17f82c2d0dc4c6052d86b1a31?d=identicon)[alex-yashin](/maintainers/alex-yashin)

---

Top Contributors

[![alex-yashin](https://avatars.githubusercontent.com/u/521141?v=4)](https://github.com/alex-yashin "alex-yashin (5 commits)")

---

Tags

phpcsvtimeseries

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/alex-yashin-php-csv-timeseries/health.svg)

```
[![Health](https://phpackages.com/badges/alex-yashin-php-csv-timeseries/health.svg)](https://phpackages.com/packages/alex-yashin-php-csv-timeseries)
```

###  Alternatives

[openspout/openspout

PHP Library to read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way

1.1k57.6M128](/packages/openspout-openspout)

PHPackages © 2026

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