PHPackages                             rkr/std-lib - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. rkr/std-lib

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

rkr/std-lib
===========

0.1.3(5mo ago)02MITPHPPHP &gt;= 8.2

Since Jan 18Pushed 5mo agoCompare

[ Source](https://github.com/rkrx/php-std-lib)[ Packagist](https://packagist.org/packages/rkr/std-lib)[ RSS](/packages/rkr-std-lib/feed)WikiDiscussions main Synced today

READMEChangelog (4)Dependencies (4)Versions (5)Used By (0)

The missing standard library for php (at least for me)
======================================================

[](#the-missing-standard-library-for-php-at-least-for-me)

Installation
------------

[](#installation)

```
composer require rkr/std-lib
```

Table of Contents
-----------------

[](#table-of-contents)

- [`StdLib\FS\CSVFile`](src/FS/README.md#csv-handling) — CSV file reader/writer generators with header mapping, BOM stripping, and configurable delimiters.
- [`StdLib\FS\Directory`](src/FS/README.md#directory-handling) — Directory iteration, line reading, CSV parsing from strings, mkdir helper, and recursive removal.
- [`StdLib\FS\File`](src/FS/README.md#file-handling) — File content helpers for reading, in-memory streams, line filtering, and safe writes.
- [`StdLib\Json\JSON`](src/Json/README.md#json-handling) — JSON encode/decode helpers with pretty printing and exception-safe parsing.
- [`DateFns\DateFns`](https://github.com/rkrx/php-date-fns/blob/main/README.md) — Date manipulation functions.

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance71

Regular maintenance activity

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity40

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

Total

4

Last Release

165d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7f83d7e57a4bf3f1309680dbfbbf2d022f0ee6dae64a4b3bdfbed1226f2f6bef?d=identicon)[rkr](/maintainers/rkr)

---

Top Contributors

[![rkrx](https://avatars.githubusercontent.com/u/5672982?v=4)](https://github.com/rkrx "rkrx (9 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/rkr-std-lib/health.svg)

```
[![Health](https://phpackages.com/badges/rkr-std-lib/health.svg)](https://phpackages.com/packages/rkr-std-lib)
```

###  Alternatives

[96qbhy/tt-microapp

字节跳动小程序sdk

729.4k](/packages/96qbhy-tt-microapp)[typehints/laravel-unused

Unused Views,Controllers,.. for Laravel

483.3k](/packages/typehints-laravel-unused)

PHPackages © 2026

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