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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package orocommerce-s3mediabundle

Amazon S3 Media Storage Bundle for Oro Platform

Info

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

  1. Install this module via Composer

    composer require aligent/orocommerce-s3mediabundle
  2. Create the parameters (above) in your parameters.yml.

  3. Clear cache

    php bin/console cache:clear --env=prod

AWS Setup

  1. Create an Amazon S3 bucket. Default settings and permissions are fine, there is no need for the bucket to be public.

  2. 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/*"
                ]
            }
        ]
    }
  3. 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

PHP Build Version
Package Version
Requires oro/platform Version 5.1.*
gaufrette/aws-s3-adapter Version ^0.4.0
knplabs/gaufrette Version ^0.11
aws/aws-sdk-php Version ^3.17.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package aligent/orocommerce-s3mediabundle contains the following files

Loading the files please wait ....