# dustin10/VichUploaderBundle

A simple Symfony bundle to ease file uploads with ORM entities and ODM documents.

Repository: https://github.com/dustin10/VichUploaderBundle
Canonical: https://ross.abutalabs.com/products/vichuploaderbundle
Language: PHP
License: MIT
License Family: permissive
Topics: php, symfony, symfony-bundle, bundle
Last push: 2026-08-20T07:28:37+00:00

## Health v2 (maintenance only)
Score: 94/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 86, longevity 100
- inputs: {"age_days": 5389, "days_push": 13, "days_rel": 13, "gap_med": 36, "n_releases_24m": 16}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1908, forks 521 (observed 2026-08-28T04:05:52.958651+00:00)

## What it is
A Symfony bundle that simplifies handling file uploads attached to Doctrine ORM entities, MongoDB ODM documents, or PHPCR ODM documents. It automates naming, storage, re-injection of uploaded files, deletion on entity removal, and templating helpers for public file URLs.

## Use cases
- attach uploaded files to doctrine entities in symfony
- automatically name and store uploaded files
- delete files when entities are removed
- generate public urls for uploaded files in twig
- handle file uploads with mongodb odm documents

## When to choose
- you use Symfony with Doctrine ORM/ODM and need entity-attached file uploads
- you want automatic file lifecycle management (save, inject, delete) tied to persistence
- you need configurable storage naming and templating helpers for file URLs

## When to avoid
- you are not using the Symfony framework
- you need direct, low-level control over file storage without entity integration
- you handle uploads outside a persistence layer, e.g. plain PHP or another framework

## Facets
- artifact type: plugin
- maturity: active
- function: file-upload, orm, templating
- domain: web-development, backend, files
- platform: php, self-hosted
- tags: symfony-bundle, file-uploads, doctrine-orm, mongodb-odm, phpcr, web-server

## Member repositories
- dustin10/VichUploaderBundle (main) score 94

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:52.958651+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:11:12.726122+00:00, confidence not recorded.
  - readme: https://github.com/dustin10/VichUploaderBundle (fetched 2026-08-28T04:05:52.958651+00:00, sha 4512f1824c25)
- Data as of 2026-08-30T08:39:29.467469+00:00.
