PHPackages                             chrisoconnell/cao-csv-output - 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. chrisoconnell/cao-csv-output

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

chrisoconnell/cao-csv-output
============================

Zend Framework 2 Module for generating CSV output from an array.

514.4k6[1 issues](https://github.com/chrisoconnell/CaoCsvOutput/issues)PHP

Since Sep 3Pushed 12y ago2 watchersCompare

[ Source](https://github.com/chrisoconnell/CaoCsvOutput)[ Packagist](https://packagist.org/packages/chrisoconnell/cao-csv-output)[ RSS](/packages/chrisoconnell-cao-csv-output/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

CaoCsvOutput
============

[](#caocsvoutput)

Zend Framework 2 Module for generating CSV output from an array.

This module provides both a Model and View Helper with which you can use to output the csv data. When using the view helper, the output will automatically be passed throught the escapeHtml view helper and all new lines will be converted to ``.

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

[](#installation)

### Main Setup

[](#main-setup)

#### By cloning project

[](#by-cloning-project)

1. Install the [CaoCsvOutput](https://github.com/chrisoconnell/CaoCsvOutput) ZF2 module by cloning it into `./vendor/`.
2. Clone this project into your `./vendor/` directory.

#### With composer

[](#with-composer)

1. Add this project in your composer.json:

    ```
    "require": {
        "chrisoconnell/cao-csv-output": "dev-master"
    }
    ```
2. Now tell composer to download CaoCsvOutput by running the command:

    ```
    $ php composer.phar update
    ```

#### Post installation

[](#post-installation)

1. Enabling it in your `application.config.php` file.

    ```
