philiplb/crudlexamazons3fileprocessor

This package is abandoned and no longer maintained. The author suggests using the philiplb/crudlex package instead.

This is a FileProcessor for philiplb/crudlex handling the uploaded files via Amazon S3

1.0.0 2017-06-29 16:21 UTC

This package is not auto-updated.

Last update: 2022-02-01 12:56:02 UTC


README

This is a FileProcessor for CRUDlex handling the uploaded files via Amazon S3 in CRUDlex versions not using Flysystem for the file handling: >= 0.10.0 and <= 0.11.0.

How To: Amazon S3 FileProcessor

First, create an instance of the Amazon S3 FileProcessor:

$fileProcessor = new CRUDlex\AmazonS3FileProcessor(
    'yourRegion',
    'yourBucket',
    'yourAccessKey',
    'yourSecretAccessKey'
);

And then hand it in when registering the CRUDlex ServiceProvider:

$app->register(new CRUDlex\ServiceProvider(), array(
    'crud.file' => __DIR__ . '<yourCrud.yml>',
    'crud.datafactory' => $dataFactory,
    'crud.fileprocessor' => $fileProcessor
));

Package

Total Downloads Latest Stable Version Latest Unstable Version License

Stable

"require": {
    "philiplb/crudlexamazons3fileprocessor": "0.11.0"
}

Bleeding Edge

"require": {
    "philiplb/crudlexamazons3fileprocessor": "0.12.x-dev"
}