Bridge with ``openspout/openspout`` ============================================================ Refer to the `official documentation `__ on GitHub. This bridge provides ways to read/write from/to CSV/ODS/XLSX files. Item reader ------------------------------------------------------------ The `FlatFileReader `__ is a reader that will read from CSV/ODS/XLSX file and return each line as an array. .. literalinclude:: openspout/flat-file-reader-xlsx.php :language: php .. literalinclude:: openspout/flat-file-reader-csv.php :language: php .. literalinclude:: openspout/flat-file-reader-ods.php :language: php .. seealso:: | :doc:`What is an item reader? ` Item writer ------------------------------------------------------------ The `FlatFileWriter `__ is a writer that will write to CSV/ODS/XLSX file and each item will written its own line. .. literalinclude:: openspout/flat-file-writer-xlsx.php :language: php .. literalinclude:: openspout/flat-file-writer-csv.php :language: php .. literalinclude:: openspout/flat-file-writer-ods.php :language: php .. seealso:: | :doc:`What is an item writer? `