Download the PHP package da-vinci-studio/file-bundle without Composer
On this page you can find all versions of the php package da-vinci-studio/file-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package file-bundle
file-bundle
Installation
-
Add bundle into composer.json
composer require da-vinci-studio/file-bundle
-
Register bundle in AppKernel
public function registerBundles() { $bundles = [ // ... new \Dvs\FileBundle\DvsFileBundle() ]; }
Using FileReceiver
FileReceiver provides a way to save files in a specific localization via FlySystem. It will take care of your file's name and path generation needed for correct saving.
- Create a directory for file saving (e.g. document in root_dir)
-
Register directory in parameters.yml
document_upload_dir: document
-
According to FlySystem documentation register file system in config.yml in connection with created directory
dvs_file: filesystems: pp_standard: adapter: local: directory: "%kernel.root_dir%/document"
- Register FileReceiver as a dependency using id: dvs.file_receiver
All versions of file-bundle with dependencies
PHP Build Version
Package Version
Requires
league/flysystem Version
~1.0
oneup/flysystem-bundle Version ^1.4
da-vinci-studio/uuid-generator Version ~0.1.0
da-vinci-studio/path-generator Version ~0.1.0
oneup/flysystem-bundle Version ^1.4
da-vinci-studio/uuid-generator Version ~0.1.0
da-vinci-studio/path-generator Version ~0.1.0
The package da-vinci-studio/file-bundle contains the following files
Loading the files please wait ....