PHPackages                             simplicity-ag/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. [PDF &amp; Document Generation](/categories/documents)
4. /
5. simplicity-ag/cao-csv-output

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

simplicity-ag/cao-csv-output
============================

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

1.0.0(9y ago)01.3kPHPPHP &gt;=5.3.3

Since Jul 19Pushed 9y ago4 watchersCompare

[ Source](https://github.com/simplicity-ag/CaoCsvOutput)[ Packagist](https://packagist.org/packages/simplicity-ag/cao-csv-output)[ Docs](https://github.com/chrisoconnell/CaoCsvOutput)[ RSS](/packages/simplicity-ag-cao-csv-output/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (2)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.

    ```
