PHPackages                             sopinet/uploadfiles-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [File &amp; Storage](/categories/file-storage)
4. /
5. sopinet/uploadfiles-bundle

ActiveSymfony-bundle[File &amp; Storage](/categories/file-storage)

sopinet/uploadfiles-bundle
==========================

Symfony2 Bundle - File field to facilitate the use of the One Upload Bundle

1.5(8y ago)42793[5 issues](https://github.com/sopinet/UploadFilesBundle/issues)JavaScriptPHP &gt;=5.4.0

Since Feb 2Pushed 8y ago10 watchersCompare

[ Source](https://github.com/sopinet/UploadFilesBundle)[ Packagist](https://packagist.org/packages/sopinet/uploadfiles-bundle)[ RSS](/packages/sopinet-uploadfiles-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (5)Used By (0)

uploadfiles-bundle
==================

[](#uploadfiles-bundle)

Instalation
-----------

[](#instalation)

1. Add this bundle to your composer.json file

```
//composer.json
require:{
  ....
  "sopinet/uploadfiles-bundle": "dev-master"
  ....
 }

```

2. Add to your AppKernel.php file

```
//app/AppKernel.php
$bundles = array(
  ....
  new Sopinet\UploadFilesBundle\SopinetUploadFilesBundle(),
  new Oneup\UploaderBundle\OneupUploaderBundle(),
  ....
 )

```

3. Configure oneuploader-bundle:
4. with basic configuration:
5. And Using the Orphanage configuration(for now configure the mappings as gallery) :
6. Add the form type to your config, and this bundle to assetics config:

    ```

    ```

//app/config/config.yml ... twig: form: resources: - 'SopinetUploadFilesBundle:Form:file.html.twig' assetic: bundles: \[ SopinetUploadFilesBundle \] ...

```
5. Add the routing to your routing.yml:

  ```
//app/config/routing.yml
...
sopinet_uploadfiles:
    resource: @SopinetUploadFilesBundle/Resources/config/routing.yml
...

```

6. Create your File entity, something like this:

```
