2017 © Pedro Peláez
 

symfony-bundle s3-uploader-bundle

A bundle for Symfony2/3 that handles file uploads to Amazon S3

image

vkr/s3-uploader-bundle

A bundle for Symfony2/3 that handles file uploads to Amazon S3

  • Tuesday, May 9, 2017
  • by wladislavk
  • Repository
  • 1 Watchers
  • 0 Stars
  • 118 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 10 Versions
  • 0 % Grown

The README.md

About

Symfony bundle that handles file uploads to Amazon S3, based on Symfony Web Uploader library. It also depends on AWS SDK and VKRSettingsBundle., (*1)

Installation

This bundle requires two keys to be added to parameters.yml: s3_publishable_key and s3_secret_key. You will also need a setting with arbitrary name that will keep full URL of the directory where you intend to keep uploaded files:, (*2)

s3_upload_dir: https://s3-us-west-2.amazonaws.com/my-bucket/upload-dir/

Remember that this directory must be open for write., (*3)

You also can add keys from Symfony Web Uploader, for example:, (*4)

allowed_upload_size: 10000 # max file size in bytes
allowed_upload_types:
    - video/mp4
    - image/jpeg

Usage

The public interface of this bundle is the same as of Symfony Web Uploader library, so you can consult library's manual for usage specifics. Basic usage from your controller will look like this:, (*5)

$s3Uploader = $this->get('vkr_s3_uploader.s3_uploader');
$s3Uploader->setUploadDir('s3_upload_dir');
$file = new Symfony\Component\HttpFoundation\File\File('path/to/file/filename');
try {
    $uploader->setFile($file)->upload()->checkIfSuccessful();
} catch (\Exception $e) {
    ...
}

The Versions

09/05 2017

dev-master

9999999-dev https://github.com/wladislavk/S3UploaderBundle

A bundle for Symfony2/3 that handles file uploads to Amazon S3

  Sources   Download

MIT

The Requires

 

The Development Requires

by Vladislav Kryshtanovskiy

symfony2 symfony3 amazon s3 aws

09/05 2017

1.1.1

1.1.1.0 https://github.com/wladislavk/S3UploaderBundle

A bundle for Symfony2/3 that handles file uploads to Amazon S3

  Sources   Download

MIT

The Requires

 

The Development Requires

by Vladislav Kryshtanovskiy

symfony2 symfony3 amazon s3 aws

15/04 2017

1.1.0

1.1.0.0 https://github.com/wladislavk/S3UploaderBundle

A bundle for Symfony2/3 that handles file uploads to Amazon S3

  Sources   Download

MIT

The Requires

 

The Development Requires

by Vladislav Kryshtanovskiy

symfony2 symfony3 amazon s3 aws

24/03 2017

1.0.6

1.0.6.0 https://github.com/wladislavk/S3UploaderBundle

A bundle for Symfony2/3 that handles file uploads to Amazon S3

  Sources   Download

MIT

The Requires

 

The Development Requires

by Vladislav Kryshtanovskiy

symfony2 symfony3 amazon s3 aws

24/03 2017

1.0.5

1.0.5.0 https://github.com/wladislavk/S3UploaderBundle

A bundle for Symfony2/3 that handles file uploads to Amazon S3

  Sources   Download

MIT

The Requires

 

The Development Requires

by Vladislav Kryshtanovskiy

symfony2 symfony3 amazon s3 aws

23/03 2017

1.0.4

1.0.4.0 https://github.com/wladislavk/S3UploaderBundle

A bundle for Symfony2/3 that handles file uploads to Amazon S3

  Sources   Download

MIT

The Requires

 

The Development Requires

by Vladislav Kryshtanovskiy

symfony2 symfony3 amazon s3 aws

23/03 2017

1.0.3

1.0.3.0 https://github.com/wladislavk/S3UploaderBundle

A bundle for Symfony2/3 that handles file uploads to Amazon S3

  Sources   Download

MIT

The Requires

 

The Development Requires

by Vladislav Kryshtanovskiy

symfony2 symfony3 amazon s3 aws

09/09 2016

1.0.2

1.0.2.0 https://github.com/wladislavk/S3UploaderBundle

A bundle for Symfony2/3 that handles file uploads to Amazon S3

  Sources   Download

MIT

The Requires

 

The Development Requires

by Vladislav Kryshtanovskiy

symfony2 symfony3 amazon s3 aws

09/08 2016

1.0.1

1.0.1.0 https://github.com/wladislavk/S3UploaderBundle

A bundle for Symfony2/3 that handles file uploads to Amazon S3

  Sources   Download

MIT

The Requires

 

The Development Requires

by Vladislav Kryshtanovskiy

symfony2 symfony3 amazon s3 aws

09/08 2016

1.0

1.0.0.0 https://github.com/wladislavk/S3UploaderBundle

A bundle for Symfony2/3 that handles file uploads to Amazon S3

  Sources   Download

MIT

The Requires

 

The Development Requires

by Vladislav Kryshtanovskiy

symfony2 symfony3 amazon s3 aws