2017 © Pedro Peláez
 

symfony-bundle s3-bundle

A simple Symfony2 bundle for the API for AWS S3.

image

jplarar/s3-bundle

A simple Symfony2 bundle for the API for AWS S3.

  • Wednesday, April 4, 2018
  • by jplarar
  • Repository
  • 1 Watchers
  • 0 Stars
  • 62 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 55 % Grown

The README.md

JplararS3Bundle

A simple Symfony2 bundle for the API for AWS S3., (*1)

Setup

Step 1: Download JplararS3Bundle using composer

Add S3 Bundle in your composer.json:, (*2)

{
    "require": {
        "jplarar/s3-bundle": "dev-master"
    }
}

Now tell composer to download the bundle by running the command:, (*3)

``` bash $ php composer.phar update "jplarar/s3-bundle", (*4)



### Step 2: Enable the bundle Enable the bundle in the kernel: ``` php get('amazon_s3_client'); ?>

Example

Upload new file to S3

php <?php $s3Client->write($key, $content, $mimeType); ?>, (*5)

The Versions