PHPackages                             rsthn/rose-ext-csv - 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. rsthn/rose-ext-csv

ActiveRose-extension[Utility &amp; Helpers](/categories/utility)

rsthn/rose-ext-csv
==================

CSV Utilities for Rose

v1.0.11(1y ago)1971Apache-2.0PHP

Since Mar 12Pushed 1y ago1 watchersCompare

[ Source](https://github.com/rsthn/rose-ext-csv)[ Packagist](https://packagist.org/packages/rsthn/rose-ext-csv)[ RSS](/packages/rsthn-rose-ext-csv/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (1)Versions (12)Used By (1)

CSV Utilities for Rose
======================

[](#csv-utilities-for-rose)

```
composer require rsthn/rose-ext-csv
```

Functions
=========

[](#functions)

### (`csv:load` filename:str table\_name:str extra\_fields:dict?)

[](#csvload-filenamestr-table_namestr-extra_fieldsdict)

Loads a CSV file into a table. Each column can optionally have a type which will be mapped to a SQL type. The suffix can be one of the following:

SuffixSQL Type:dateDATE📅d/m/yDATE:intINT(10):primaryINT(10) PRIMARY KEY AUTO\_INCREMENT:numericDECIMAL(12,2):textVARCHAR(4096):cleanVARCHAR(4096)&lt;default&gt;VARCHAR(256)### (`csv:load-temp` filename:str table\_name:str extra\_fields:dict?)

[](#csvload-temp-filenamestr-table_namestr-extra_fieldsdict)

Loads a CSV file into a temporary table. Each column can optionally have a type which will be mapped to a SQL type. See: `csv:load` for more information.

### (`csv:read` filename:str header:list?)

[](#csvread-filenamestr-headerlist)

Reads a CSV file into memory.

### (`csv:clear` auto\_header:bool=false)

[](#csvclear-auto_headerboolfalse)

Clears the output CSV buffer.

### (`csv:separator` separator:str)

[](#csvseparator-separatorstr)

Specifies the column separator character.

### (`csv:escape` escape:bool)

[](#csvescape-escapebool)

Indicates whether or not to escape the CSV values in the output.

### (`csv:row-count`)

[](#csvrow-count)

Number of rows in the output CSV.

### (`csv:header` column\_names:list&lt;str&gt;)

[](#csvheader-column_namesliststr)

Specifies the column headers for the output CSV.

### (`csv:row` values:oneOf&lt;dict, list&gt;)

[](#csvrow-valuesoneofdict-list)

Adds a row of data to the output CSV.

### (`csv:rows` rows:list&lt;oneOf&lt;dict, list&gt;&gt;))

[](#csvrows-rowslistoneofdict-list)

Adds multiple rows of data to the output CSV.

### (`csv:data` clear\_after\_read:bool=false)

[](#csvdata-clear_after_readboolfalse)

Returns the output CSV buffer.

### (`csv:dump` filename:str disposition:str?)

[](#csvdump-filenamestr-dispositionstr)

Dumps the output CSV buffer to the browser.

### (`csv:write` filename:str BOM:bool=true)

[](#csvwrite-filenamestr-bombooltrue)

Writes the output CSV buffer to a file.

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance47

Moderate activity, may be stable

Popularity12

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity55

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

Recently: every ~148 days

Total

11

Last Release

398d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c882137e3e41afe0d0ef09b65e8c4dab3858accc70a2ca84181c9261a0447cdd?d=identicon)[rsthn](/maintainers/rsthn)

---

Top Contributors

[![strikeone88](https://avatars.githubusercontent.com/u/50781762?v=4)](https://github.com/strikeone88 "strikeone88 (18 commits)")

### Embed Badge

![Health badge](/badges/rsthn-rose-ext-csv/health.svg)

```
[![Health](https://phpackages.com/badges/rsthn-rose-ext-csv/health.svg)](https://phpackages.com/packages/rsthn-rose-ext-csv)
```

PHPackages © 2026

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