silarhi / rest-upload-bundle
Handle multiple rest upload ways
Installs: 329
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 17
Type:symfony-bundle
Requires
- php: ^8.2
Requires (Dev)
- doctrine/annotations: ^2.0
- doctrine/doctrine-bundle: ^2.10
- doctrine/orm: ^2.16
- knplabs/knp-gaufrette-bundle: ^0.8
- oneup/flysystem-bundle: ^4.9
- phpstan/phpstan: ^1.10
- phpunit/phpunit: ^10.4
- rector/rector: ^0.18.6
- symfony/browser-kit: ^6.3
- symfony/console: ^6.2
- symfony/form: ^6.2
- symfony/framework-bundle: ^6.2
- symfony/validator: ^6.2
- symfony/yaml: ^6.3
- vimeo/psalm: ^5.15
This package is auto-updated.
Last update: 2024-10-17 11:10:47 UTC
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