20/12
2017
First you need to add akuma/coen-uploader-bundle
to composer.json
:, (*1)
composer require akuma/coen-uploader-bundle
You also have to add AkumaCoenFileBundle
to your AppKernel.php
:, (*2)
// app/AppKernel.php //... class AppKernel extends Kernel { //... public function registerBundles() { $bundles = array( ... new Akuma\Bundle\CoenFileBundle\AkumaCoenFileBundle() ); //... return $bundles; } //... }
You also may customize some config options:, (*3)
akuma_coen_file: target_dir: ~ #default sys_get_tmp_dir max_uploads: ~ #default 3