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

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

ozznest/uploadable
==================

Bundle for easy integrations upload properties to entity

v1.1.2(9y ago)04.4k↑66.7%MITPHPPHP &gt;=5.4

Since Jul 2Pushed 4y agoCompare

[ Source](https://github.com/ozznest/UploadableBundle)[ Packagist](https://packagist.org/packages/ozznest/uploadable)[ Docs](https://github.com/Youshido/UploadableBundle)[ RSS](/packages/ozznest-uploadable/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (7)Used By (0)

UploadableBundle
================

[](#uploadablebundle)

Bundle brings uploadable behavor for Symfony2/3 Doctrine Entities

### Install via Composer:

[](#install-via-composer)

> composer require youshido/uploadable

### Enable in your AppKernel.php:

[](#enable-in-your-appkernelphp)

> new Youshido\\UploadableBundle\\UploadableBundle(),

### Add annotation to your entity:

[](#add-annotation-to-your-entity)

```
use Youshido\UploadableBundle\Annotations as Youshido;

class Post
{

    /**
     * @var string
     *
     * @ORM\Column(name="path", type="string", length=255)
     *
     * @Youshido\Uploadable(override="true", asserts={@Assert\File(
     *     maxSize = "1024k",
     *     mimeTypes = {"image/jpeg"},
     *     mimeTypesMessage = "Please upload a valid Image"
     * )})
     */
    private $path;
```

### Use in controller:

[](#use-in-controller)

```
$post = new Post();

$form = $this->createFormBuilder($post, ['action' => $this->generateUrl('example1')])
    ->add('path', 'Youshido\UploadableBundle\Type\UploadableFileType', ['entity_class' => 'AppBundle\Entity\Post'])
    ->add('submit', 'submit')
    ->getForm();

$form->handleRequest($request);

if($form->isValid()){
    $this->getDoctrine()->getManager()->persist($post);
    $this->getDoctrine()->getManager()->flush();
}
```

```
if($request->getMethod() == 'POST'){
    if($file = $request->files->get('path')){
        if($post = $this->getDoctrine()->getRepository('AppBundle:Post')->find($id)){
            $this->get('youshido.uploadable.enity_manager')
                ->saveFile($post, 'path', $file, true);
        }
    }
}
```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 57.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~109 days

Total

5

Last Release

3529d ago

PHP version history (2 changes)1.0.0PHP &gt;=5.3.2

1.0.1PHP &gt;=5.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/53662425a6d39f5134083c14b86185c8e29b079f17407cfc23d6d4a0826fe0c7?d=identicon)[ozznest](/maintainers/ozznest)

---

Top Contributors

[![portey](https://avatars.githubusercontent.com/u/1961696?v=4)](https://github.com/portey "portey (22 commits)")[![viniychuk](https://avatars.githubusercontent.com/u/1412341?v=4)](https://github.com/viniychuk "viniychuk (11 commits)")[![oznest-ops](https://avatars.githubusercontent.com/u/245680063?v=4)](https://github.com/oznest-ops "oznest-ops (5 commits)")

---

Tags

symfonybundlefileuploadfile uploadsform

### Embed Badge

![Health badge](/badges/ozznest-uploadable/health.svg)

```
[![Health](https://phpackages.com/badges/ozznest-uploadable/health.svg)](https://phpackages.com/packages/ozznest-uploadable)
```

###  Alternatives

[kartik-v/yii2-widget-fileinput

An enhanced FileInput widget for Bootstrap 3.x, 4.x &amp; 5.x with file preview, multiple selection, and more features (sub repo split from yii2-widgets)

2286.8M94](/packages/kartik-v-yii2-widget-fileinput)[artgris/filemanager-bundle

FileManager is a simple Multilingual File Manager Bundle for Symfony

182420.8k9](/packages/artgris-filemanager-bundle)[presta/image-bundle

PrestaImageBundle is a Symfony bundle providing tools to resize uploaded and remote images before sending them through a classic form.

24155.9k](/packages/presta-image-bundle)[ranky/media-bundle

A complete and friendly media file manager for Symfony

681.3k](/packages/ranky-media-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
