jrschumacher/symfony-component-httpfoundation-csvresponse

There is no license information available for the latest version (v0.0.1) of this package.

CSV response for Symfony HttpFoundation

v0.0.1 2014-06-27 20:25 UTC

This package is not auto-updated.

Last update: 2024-11-19 03:15:34 UTC


README

Build Status

Use

It should be noted CsvResponse extends StreamedResponse and uses goodby/csv library. The use of this response is relatively simple.

<?
use Symfony\Component\HttpFoundation\CsvResponse;

$data = array(
    array('John Smith', 'john@smith.com'),
    array('Jane Smith', 'jane@smith.com')
);

new CsvResponse($data);

Further Use

For further use please see goodby/csv