PHP code example of yazanstash / csv
1. Go to this page and download the library: Download yazanstash/csv library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
yazanstash / csv example snippets
php
$file = YazanStash\Csv::create();
// or
$file = YazanStash\Csv::create('/home/stash/Desktop/export.csv');
$file->delimiter('|')->enclosure("'")->write(['Hola Amigo!']);