First you need to add akuma/coen-uploader-bundle
to composer.json
:
composer require akuma/coen-uploader-bundle
You also have to add AkumaCoenFileBundle
to your AppKernel.php
:
// 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:
akuma_coen_file:
target_dir: ~ #default sys_get_tmp_dir
max_uploads: ~ #default 3
- First release
- The bundle is licensed under the WTFPL License