{"id":25519687,"url":"https://github.com/aligent/orocommerce-s3mediabundle","last_synced_at":"2025-06-28T08:37:56.255Z","repository":{"id":47269145,"uuid":"158327852","full_name":"aligent/orocommerce-s3mediabundle","owner":"aligent","description":"Media storage on Amazon S3 for OroCommerce ","archived":false,"fork":false,"pushed_at":"2023-10-10T00:22:56.000Z","size":59,"stargazers_count":0,"open_issues_count":4,"forks_count":3,"subscribers_count":29,"default_branch":"master","last_synced_at":"2025-04-02T23:46:09.478Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aligent.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null}},"created_at":"2018-11-20T03:51:08.000Z","updated_at":"2022-07-05T06:24:24.000Z","dependencies_parsed_at":"2023-02-16T04:16:03.090Z","dependency_job_id":null,"html_url":"https://github.com/aligent/orocommerce-s3mediabundle","commit_stats":{"total_commits":34,"total_committers":5,"mean_commits":6.8,"dds":"0.38235294117647056","last_synced_commit":"27b94772d33ce80530364e9fef59227d4e28b2b8"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aligent%2Forocommerce-s3mediabundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aligent%2Forocommerce-s3mediabundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aligent%2Forocommerce-s3mediabundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aligent%2Forocommerce-s3mediabundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aligent","download_url":"https://codeload.github.com/aligent/orocommerce-s3mediabundle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248322771,"owners_count":21084336,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-02-19T17:29:22.310Z","updated_at":"2025-06-28T08:37:56.248Z","avatar_url":"https://github.com/aligent.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Amazon S3 Media Storage Bundle for Oro Platform\n===============================================\n\nInfo\n-----\n- composer name: aligent/orocommerce-s3mediabundle\n\nDescription\n-----------\nThis bundle provides configuration for using S3 buckets for media storage in Oro Platform \nby configuring the KNPGaufrette Bundle.  It will work with both OroCommerce and OroCRM \nversions based on Oro Platform 6.1.0 and later.  For older versions of OroCommerce use one \nof the older releases of this module.\n\n### Parameters\n```\n    amazon_s3.bucket_name: s3-bucket-name\n    amazon_s3.region: ap-southeast-2\n    amazon_s3.key: USER_KEY\n    amazon_s3.secret: SUPER_SECRET\n```\n\nThe key and secret are optional in an ECS environment, as the ECS credentials provider is \nused as a fallback if neither of them exist. \n\n\nInstallation Instructions\n-------------------------\n1. Install this module via Composer\n\n        composer require aligent/orocommerce-s3mediabundle\n\n1. Create the parameters (above) in your parameters.yml.\n\n1. Clear cache\n        \n        php bin/console cache:clear --env=prod\n        \nAWS Setup\n---------\n\n1. Create an Amazon S3 bucket.  Default settings and permissions are fine, \nthere is no need for the bucket to be public.\n\n1. Create the following IAM Customer Managed Policy (which grants full \naccess to a single S3 bucket) substituting NameOfBucketHere with your S3 \nbucket's name:\n\n        {\n            \"Version\": \"2012-10-17\",\n            \"Statement\": [\n                {\n                    \"Effect\": \"Allow\",\n                    \"Action\": \"s3:*\",\n                    \"Resource\": [\n                        \"arn:aws:s3:::NameOfBucketHere\",\n                        \"arn:aws:s3:::NameOfBucketHere/*\"\n                    ]\n                }\n            ]\n        }\n\n1. Create an IAM user, directly attach your new policy and generate Access and \nSecret keys.  Insert those values into your parameters.yml (see above), clear \ncache and you're good to go!\n\nSupport\n-------\nIf you have any issues with this bundle, please create a \n[pull request](https://github.com/aligent/orocommerce-s3mediabundle/pulls) \nwith a failing test that demonstrates the problem you've found.  If you're really \nstuck, feel free to open [GitHub issue](https://github.com/aligent/orocommerce-s3mediabundle/issues).\n\nContribution\n------------\nAny contribution is highly appreciated. The best way to contribute code is to open a [pull request on GitHub](https://help.github.com/articles/using-pull-requests).\n\nDeveloper\n---------\nInitial version by Adam Hall \u003cadam.hall@aligent.com.au\u003e.\n\nMinor tweaks for OroCommerce 3.0 by Jim O'Halloran \u003cjim@aligent.com.au\u003e\n\nUpdates for Oro Platform 4.0, 5.1 \u0026 6.1 by Jim O'Halloran \u003cjim.ohalloran@incore.com.au\u003e\n\nLicence\n-------\n[MIT](https://opensource.org/licenses/mit)\n\nCopyright\n---------\n(c) 2018-25 Aligent Consulting \u0026 Contributors\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faligent%2Forocommerce-s3mediabundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faligent%2Forocommerce-s3mediabundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faligent%2Forocommerce-s3mediabundle/lists"}