PHP code example of philiplb / crudlexaddons
1. Go to this page and download the library: Download philiplb/crudlexaddons 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/ */
philiplb / crudlexaddons example snippets
$fileProcessor = new CRUDlex\AmazonS3FileProcessor(
'yourRegion',
'yourBucket',
'yourAccessKey',
'yourSecretAccessKey'
);
$app->register(new CRUDlex\ServiceProvider(), array(
'crud.file' => __DIR__ . '<yourCrud.yml>',
'crud.datafactory' => $dataFactory,
'crud.fileprocessor' => $fileProcessor
));