defrag / plupload-bundle
Provides a Plupload integration for your Symfony2 project.
Installs: 4 510
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 2
Forks: 0
Open Issues: 1
Type:symfony-bundle
Requires
This package is not auto-updated.
Last update: 2024-10-26 15:49:39 UTC
README
Bundle for multiple uploads using Plupload
Installation (Symfony 2.0.x only)
1. Add the following to your composer.json
file:
"defrag/plupload-bundle" : "dev-master"
2. Run composer update:
php composer.phar update defrag/plupload-bundle
3. Register bundle in AppKernel.php
new Defrag\PluploadBundle\DefragPluploadBundle(),
4. Set up configuration
defrag_plupload: upload_service: re.asset_manager orm_class: RE\AssetBundle\Entity\Asset
5. Add to your form
public function buildForm(FormBuilderInterface $builder, array $options) { $builder ->add('assets', 'plupload') ; }
upload_service shall implement Defrag\PluploadBundle\Mode\UploaderInterface.
This bundle just sets up basic plupload to use on existing site. Bundle is still in alpha, ive just recenly extraced it to be independent.