Download the PHP package aligent/orocommerce-s3mediabundle without Composer
On this page you can find all versions of the php package aligent/orocommerce-s3mediabundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download aligent/orocommerce-s3mediabundle
More information about aligent/orocommerce-s3mediabundle
Files in aligent/orocommerce-s3mediabundle
Package orocommerce-s3mediabundle
Short Description Amazon S3 Based media storage for Oro Platform (OroCommerce and OroCRM)
License OSL-3.0
Homepage https://github.com/aligent/orocommerce-s3mediabundle
Informations about the package orocommerce-s3mediabundle
Amazon S3 Media Storage Bundle for Oro Platform
Info
- composer name: aligent/orocommerce-s3mediabundle
Description
This bundle provides configuration for using S3 buckets for media storage in Oro Platform by configuring the KNPGaufrette Bundle. It will work with both OroCommerce and OroCRM versions based on Oro Platform 4.0.0 and later. For older versions pf OroCommerce use one of the 1.x releases of this module.
Parameters
The key and secret are optional in an ECS environment, as the ECS credentials provider is used as a fallback if neither of them exist.
Installation Instructions
-
Install this module via Composer
composer require aligent/orocommerce-s3mediabundle
-
Create the parameters (above) in your parameters.yml.
-
Clear cache
php bin/console cache:clear --env=prod
AWS Setup
-
Create an Amazon S3 bucket. Default settings and permissions are fine, there is no need for the bucket to be public.
-
Create the following IAM Customer Managed Policy (which grants full access to a single S3 bucket) substituting NameOfBucketHere with your S3 bucket's name:
{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": "s3:*", "Resource": [ "arn:aws:s3:::NameOfBucketHere", "arn:aws:s3:::NameOfBucketHere/*" ] } ] }
- Create an IAM user, directly attach your new policy and generate Access and Secret keys. Insert those values into your parameters.yml (see above), clear cache and you're good to go!
Support
If you have any issues with this bundle, please create a pull request with a failing test that demonstrates the problem you've found. If you're really stuck, feel free to open GitHub issue.
Contribution
Any contribution is highly appreciated. The best way to contribute code is to open a pull request on GitHub.
Developer
Initial version by Adam Hall [email protected].
Minor tweaks for OroCommerce 3.0 by Jim O'Halloran [email protected]
Update for Oro Platform 4.0 by Jim O'Halloran [email protected]
Licence
OSL - Open Software Licence 3.0
Copyright
(c) 2018-19 Aligent Consulting
All versions of orocommerce-s3mediabundle with dependencies
gaufrette/aws-s3-adapter Version ^0.4.0
knplabs/gaufrette Version ^0.11
aws/aws-sdk-php Version ^3.17.0