srio/rest-upload-bundle

Handle multiple rest upload ways

Installs: 86 103

Dependents: 0

Suggesters: 0

Security: 0

Stars: 45

Watchers: 4

Forks: 16

Open Issues: 4

Type:symfony-bundle

2.1.0 2016-09-10 18:57 UTC

This package is auto-updated.

Last update: 2020-07-01 00:14:37 UTC


README

Build Status

This bundle provide a simple ways to handle uploads on the server side.

Currently, it supports the simple, form-data, multipart and resumable ways.

Getting started

Using Gaufrette as storage layer, you can handle file uploads and store files on many places such as a local file system, an Amazon S3 bucket, ...

Testing

Tests are run with PHPUnit. Once you installed dependencies with composer, then:

  • Create a database, allow access to a user, and set configuration in Tests/Fixtures/App/app/config/parameters.yml file
  • Create the database schema for the test environment
    php Tests/Fixtures/App/app/console doctrine:schema:update --force --env=test
  • Run PHPUnit
    phpunit