PHP code example of steadfastcollective / statamic-csv-exporter

1. Go to this page and download the library: Download steadfastcollective/statamic-csv-exporter 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/ */

    

steadfastcollective / statamic-csv-exporter example snippets


/*
|--------------------------------------------------------------------------
| Ignored fields
|--------------------------------------------------------------------------
|
| Configure any fields which should be ignored when exporting items.
|
*/

'ignored_fields' => [
    'collections' => [

        'events' => [
            'author', 'excerpt',
        ],

    ],
],

php artisan vendor:publish --tag=statamic-csv-exporter-config