srio / rest-upload-bundle
Handle multiple rest upload ways
Installs: 116 003
Dependents: 0
Suggesters: 0
Security: 0
Stars: 46
Watchers: 6
Forks: 17
Open Issues: 4
Type:symfony-bundle
Requires
- php: >=5.3.3
- incenteev/composer-parameter-handler: ~2.0
- symfony/symfony: >=2.3.0
Requires (Dev)
- doctrine/doctrine-bundle: >=1.2.0
- doctrine/orm: ~2.2,>=2.2.3
- knplabs/knp-gaufrette-bundle: >=0.1.7
- oneup/flysystem-bundle: ~1.4
- phpunit/phpunit: 3.7.*
- sensio/framework-extra-bundle: >=2.3.0
Suggests
- doctrine/doctrine-bundle: >=1.2.0
- doctrine/orm: >=2.2.3,<2.4-dev
- knplabs/knp-gaufrette-bundle: Required if you use the knplabs/gaufrette filesystem abstraction layer
- oneup/flysystem-bundle: Required if you use the league/flysystem filesystem abstraction layer
README
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
environmentphp Tests/Fixtures/App/app/console doctrine:schema:update --force --env=test
- Run PHPUnit
phpunit