PHP code example of inthere / csv-security-formatter

1. Go to this page and download the library: Download inthere/csv-security-formatter 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/ */

    

inthere / csv-security-formatter example snippets


$csvSecurityFormatter = new \InThere\CsvSecurityFormatter\CsvSecurityFormatter();

$writer = Writer::createFromFileObject(new SplTempFileObject());
$writer->addFormatter($csvSecurityFormatter);
$writer->insertOne(['=2*5', 'foo', 'bar']);

$writer->__toString();