CIMPluploadBundle
The CIMPluploadBundle adds support for plupload in Symfony2., (*1)
Installation
Step 1: Download CIMPluploadBundle using composer
Add CIMPluploadBundle in your composer.json:, (*2)
{
"require": {
"christmann/pluploadbundle": "dev-Symfony2.3"
}
}
You could use "dev-Symfony2.2" for Symfony2.2 or "dev-master" for Symfony2.1., (*3)
Now download the bundle per command., (*4)
``` bash
$ php composer.phar update christmann/pluploadbundle, (*5)
Now Composer install the bundle to your project's `vendor/CIM/PluploadBundle` directory.
### Step 2: Enable the bundle
Enable the bundle in the kernel:
``` php
<?php
// app/AppKernel.php
public function registerBundles()
{
$bundles = array(
// ...
new CIM\PluploadBundle\CIMPluploadBundle(),
);
}
``` php
<?php
// src/Acme/DemoBundle/Form/DemoType.php, (*6)
// ...
public function buildForm(FormBuilderInterface $builder, array $options)
{
// ...
$builder->add('image', 'plupload')
// ...
}
// ...
```, (*7)
License
This bundle and the included Plupload is under the GPLv2 license. See the complete license in the bundle:, (*8)
LICENSE
Reporting an issue or a feature request
Issues and feature requests are tracked in the Github issue tracker., (*9)
When reporting a bug, it may be a good idea to reproduce it in a basic project
built using the Symfony Standard Edition
to allow developers of the bundle to reproduce the issue by simply cloning it
and following some steps., (*10)