philiplb / CRUDlexAmazonS3FileProcessor

This is a FileProcessor for CRUDlex handling the uploaded files via Amazon S3.

Home Page:https://philiplb.de/crudlex/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CRUDlex Amazon S3 FileProcessor

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"
}

About

This is a FileProcessor for CRUDlex handling the uploaded files via Amazon S3.

https://philiplb.de/crudlex/

License:MIT License


Languages

Language:PHP 100.0%