PHPackages                             sidus/file-upload-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. [Database &amp; ORM](/categories/database)
4. /
5. sidus/file-upload-bundle

ActiveLibrary[Database &amp; ORM](/categories/database)

sidus/file-upload-bundle
========================

Allow to upload files directly in Doctrine entities, based on oneup/uploader-bundle and jQuery-file-upload

v1.2.9(6y ago)321.1k4[1 issues](https://github.com/VincentChalnot/SidusFileUploadBundle/issues)1GPL-2.0PHP

Since Mar 30Pushed 6y ago1 watchersCompare

[ Source](https://github.com/VincentChalnot/SidusFileUploadBundle)[ Packagist](https://packagist.org/packages/sidus/file-upload-bundle)[ Docs](https://github.com/VincentChalnot/SidusFileUploadBundle)[ RSS](/packages/sidus-file-upload-bundle/feed)WikiDiscussions v1.2-dev Synced today

READMEChangelogDependencies (6)Versions (16)Used By (1)

Sidus/FileUploadBundle
======================

[](#sidusfileuploadbundle)

This bundle allows you to define Doctrine entities linked to a virtual filesystem entry through the Flysystem storage layer.

This means that when uploading a file, it will automatically create a corresponding entity in your database matching your resource type.

WARNING: These entities are meant to be associated to other Doctrine entities, not really managed by themselves: If you want to add a title and a description to a file, create a different entity and create an association to the resource.

The upload part is handled by the Oneup Uploader Bundle with very little magic added to it.

This documentation is a work in progress, the bundle is working as is but might require more configuration than what is explained here.

Installation
------------

[](#installation)

You will need to include jQuery in your project on your own.

```
$ composer require sidus/file-upload-bundle
```

Update your Kernel:

```
