PHPackages                             ytko/doctrine-uploadable - 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. ytko/doctrine-uploadable

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

ytko/doctrine-uploadable
========================

Doctrine2 behavior uploadable trait

39[1 issues](https://github.com/ytko/doctrine-uploadable/issues)PHP

Since Mar 4Pushed 13y ago2 watchersCompare

[ Source](https://github.com/ytko/doctrine-uploadable)[ Packagist](https://packagist.org/packages/ytko/doctrine-uploadable)[ RSS](/packages/ytko-doctrine-uploadable/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Doctrine2 Uploadable Behavior
=============================

[](#doctrine2-uploadable-behavior)

This php 5.4+ library provides file uploading trait for Doctrine2 entities.

This library needs Doctrine listener to be activated.

Listeners
---------

[](#listeners)

Symfony2:

```
    # app/config/config.yml
    imports:
        - { resource: ../../vendor/ytko/doctrine-uploadable/config/orm-services.yml }
```

Or Doctrine2 api:

```
