Download the PHP package vria/enhanced-file without Composer
On this page you can find all versions of the php package vria/enhanced-file. 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 enhanced-file
VRiaEnhancedFileBundle
File type for Symfony forms with additional functionality:
- if file has been previously uploaded, the download link is rendered
- previously uploaded file can be deleted if new one is uploaded
Installation
Using Composer, run:
Add the VRiaNoDiacriticBundle to your application kernel:
Use
In Symfony 3 you should use:
While in Symfony ~2.3:
$options
is an array of options form FormType Field enlarged with:
directory_path
- physycal directory to put files. E.g.$this->get('kernel')->getRootDir() . '/../web/upload/'
. Requiredpublic_directory_path
- path from your public directory (often/web
) to directory with files. E.g.'/upload/'
. Requireddelete_previous_file
- whether to delete previously uploaded file. Default value istrue
So, the complete definition could be:
All versions of enhanced-file with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.5.9
symfony/framework-bundle Version >=3.0
symfony/expression-language Version >=3.0
symfony/form Version >=3.0
twig/twig Version ~1.23|~2.0
symfony/framework-bundle Version >=3.0
symfony/expression-language Version >=3.0
symfony/form Version >=3.0
twig/twig Version ~1.23|~2.0
The package vria/enhanced-file contains the following files
Loading the files please wait ....