Download the PHP package ezsystems/ezdfs-fsbackend-aws-s3 without Composer
On this page you can find all versions of the php package ezsystems/ezdfs-fsbackend-aws-s3. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ezsystems/ezdfs-fsbackend-aws-s3
More information about ezsystems/ezdfs-fsbackend-aws-s3
Files in ezsystems/ezdfs-fsbackend-aws-s3
Package ezdfs-fsbackend-aws-s3
Short Description eZPublish Amazon S3 FS backend for DFS
License GPL-2.0
Informations about the package ezdfs-fsbackend-aws-s3
Support for Amazon S3 as a DFS backend
Summary
An AmazonS3 DFS FS handler is added to the existing local filesystem one.
The previous eZDFSFileHandlerDFSBackend
, in charge of reading/writing files to NFS, is in DFS replaced by a dispatcher.
This dispatcher receives a stack of DFSBackend handlers. Each handler will respond true/false when asked if it supports
a file path.
An AmazonS3 handler is provided, that can be configured to store images.
Installation
Requirements
- ezsystems/ezdfs-fsbackend-dispatcher must be installed
- An amazon web services account, with
AmazonS3FullAccess
permissions like eZ Platform's S3 IO handler - ezsystems/ezpublish-legacy >= v2017.12 (Or any ezpublish 5+ version with the patch: https://github.com/ezsystems/ezpublish-legacy/pull/1449/files)
Installation using composer
From the eZ Publish Community/Platform root, run
Configuration
The handler must first be configured in an dfsamazons3.ini
override. Region must be set to the region code, as listed on http://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region: eu-west-1
, us-east-1
...
Example settings/overrride/dfsamazons3.ini.append.php
:
It must then be be set as an additional handler matching one or several path in a dispatchabledfs.ini
override:
Known issues
When setting up Legacy Bridge, don't forget to follow the documentation here: https://doc.ezplatform.com/en/latest/guide/clustering_aws_s3/ .
If your images are not displayed properly, check the value of url_prefix
:
All versions of ezdfs-fsbackend-aws-s3 with dependencies
ezsystems/ezdfs-fsbackend-dispatcher Version 1.0.*@beta
aws/aws-sdk-php Version ^3.0