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.5k↓33.3%MITPHPPHP &gt;=5.4

Since Jul 2Pushed 5y 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 3w 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 66% 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

3574d 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

[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1155.2k](/packages/rcsofttech-audit-trail-bundle)[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.5M373](/packages/easycorp-easyadmin-bundle)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1615.6k12](/packages/2lenet-crudit-bundle)[ahmed-bhs/doctrine-doctor

Runtime analysis tool for Doctrine ORM integrated into Symfony Web Profiler. Unlike static linters, it analyzes actual query execution at runtime to detect performance bottlenecks, security vulnerabilities, and best practice violations during development with real execution context and data.

939.0k](/packages/ahmed-bhs-doctrine-doctor)[presta/image-bundle

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

24158.1k](/packages/presta-image-bundle)

PHPackages © 2026

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