rkr / std-lib
Installs: 1
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/rkr/std-lib
Requires
- php: >= 8.2
- ext-dom: *
- ext-iconv: *
- ext-libxml: *
- ext-mbstring: *
- php-defer/php-defer: v5.0.7
- rkr/date-fns: ^4.1.0
Requires (Dev)
- phpstan/phpstan: >= 1.10
- phpunit/phpunit: ^11.5
README
Installation
composer require rkr/std-lib
Table of Contents
StdLib\FS\CSVFile— CSV file reader/writer generators with header mapping, BOM stripping, and configurable delimiters.StdLib\FS\Directory— Directory iteration, line reading, CSV parsing from strings, mkdir helper, and recursive removal.StdLib\FS\File— File content helpers for reading, in-memory streams, line filtering, and safe writes.StdLib\Json\JSON— JSON encode/decode helpers with pretty printing and exception-safe parsing.DateFns\DateFns— Date manipulation functions.