philiplb / crudlexamazons3fileprocessor
This is a FileProcessor for philiplb/crudlex handling the uploaded files via Amazon S3
Installs: 1 647
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- php: >=5.5
- aws/aws-sdk-php: ^3.19.0
- philiplb/crudlex: >=0.10.0 <=0.11.0
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
Stable
"require": { "philiplb/crudlexamazons3fileprocessor": "0.11.0" }
Bleeding Edge
"require": { "philiplb/crudlexamazons3fileprocessor": "0.12.x-dev" }