This is a FileProcessor for CRUDlex handling the uploaded files via Amazon S3.
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src/CRUDlex
CHANGELOG.md
LICENSE
README.md
composer.json

README.md

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