2017 © Pedro Peláez
 

library assetic-amazon-s3-bundle

Bundle to dump assetic assets to Amazon S3

image

albertofem/assetic-amazon-s3-bundle

Bundle to dump assetic assets to Amazon S3

  • Wednesday, December 10, 2014
  • by albertofem
  • Repository
  • 0 Watchers
  • 0 Stars
  • 30 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

AsseticAmazonS3Bundle

Scrutinizer Code Quality, (*1)

Bundle to dump assetic assets to Amazon S3, (*2)

Installation

Require the package in your composer.json:, (*3)

composer require albertofem/assetic-amazon-s3-bundle dev-master

Enable it in your Appkernel:, (*4)

public function registerBundles()
{
    $bundles = [
        ....
        new \AFM\Bundle\AsseticAmazonS3Bundle\AFMAsseticAmazonS3Bundle(),
    ]
}

Configuration

You must provided the following parameters:, (*5)

aws_key: ~
aws_secret_key: ~
aws_region: ~

Also, you need change the write_to parameter to your s3 bucket:, (*6)

assetic:
    write_to: s3://my_bucket

Usage

Just use the normal assets commands but using s3 as the target:, (*7)

php app/console assetic:dump
php app/console assets:install s3://my-bucket

The Versions

10/12 2014

dev-master

9999999-dev

Bundle to dump assetic assets to Amazon S3

  Sources   Download

GPLv3

The Requires