PHP code example of wernerkrauss / silverstripe-fluent-export-import

1. Go to this page and download the library: Download wernerkrauss/silverstripe-fluent-export-import 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/ */

    

wernerkrauss / silverstripe-fluent-export-import example snippets


public function updateGptCommand(&$command, $locale)
{
    $command = 'You are a professional translator. Translate the following text to ' . $locale . ' language. Please keep the json format intact.';
}