PHPackages                             osw3/symfony-media - 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. [Image &amp; Media](/categories/media)
4. /
5. osw3/symfony-media

ActiveSymfony-bundle[Image &amp; Media](/categories/media)

osw3/symfony-media
==================

Manage media of your app.

0.0.29(1y ago)0442MITPHP

Since Jul 13Pushed 1y agoCompare

[ Source](https://github.com/OSW3/symfony-media)[ Packagist](https://packagist.org/packages/osw3/symfony-media)[ Docs](https://osw3.net)[ RSS](/packages/osw3-symfony-media/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (5)Versions (30)Used By (2)

Symfony Media
=============

[](#symfony-media)

Add media manager to your app pages.

How to install
--------------

[](#how-to-install)

### Step 1: Download the Bundle

[](#step-1-download-the-bundle)

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

```
composer require osw3/symfony-media
```

### Step 2: Enable the Bundle

[](#step-2-enable-the-bundle)

Then, enable the bundle by adding it to the list of registered bundles in the `config/bundles.php` file of your project:

```
// config/bundles.php

return [
    // ...
    OSW3\Media\MediaBundle::class => ['all' => true],
];
```

How to use
----------

[](#how-to-use)

How to configure
----------------

[](#how-to-configure)

dependencies
------------

[](#dependencies)

Install deps if you need to process :

Image:

```
composer require claviska/simpleimage
```

Audio:

```
composer require james-heinrich/getid3
```

Video:

```
composer require php-ffmpeg/php-ffmpeg
```

PDF:

```
composer require setasign/fpdf
composer require setasign/fpdi
```

Create Entity

```
bin/console make:entity Media
```

Valid the entity without properties and replace Entity class

```
use OSW3\Media\Trait\Entity\MediaTrait;

#[ORM\Entity(repositoryClass: MediaRepository::class)]
class Media
{
    use MediaTrait;
}
```

```
#config/package/twig_component.yaml
twig_component:
    defaults:
        OSW3\Media\Components\: '@Media/'
```

PROCESSOR: Deinir la classe du processor dans la partie presets de config.yaml

Ajouter la classe au service

```
service:
    # App\Processor\TestProcessor:
    #     autowire: true
    #     autoconfigure: true
    #     public: true
    App\Processor\:
        resource: '../src/Processor/'
        autowire: true
        autoconfigure: true
        public: true
        # tags: ['app.processor']
```

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance42

Moderate activity, may be stable

Popularity8

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~9 days

Recently: every ~0 days

Total

29

Last Release

470d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2088750?v=4)[OSW3](/maintainers/osw3)[@OSW3](https://github.com/OSW3)

---

Top Contributors

[![ArnaudBDL](https://avatars.githubusercontent.com/u/53226044?v=4)](https://github.com/ArnaudBDL "ArnaudBDL (35 commits)")

### Embed Badge

![Health badge](/badges/osw3-symfony-media/health.svg)

```
[![Health](https://phpackages.com/badges/osw3-symfony-media/health.svg)](https://phpackages.com/packages/osw3-symfony-media)
```

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.9M388](/packages/easycorp-easyadmin-bundle)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.9M733](/packages/sylius-sylius)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.1k17.8k](/packages/prestashop-prestashop)[shopware/platform

The Shopware e-commerce core

3.4k1.5M3](/packages/shopware-platform)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M568](/packages/shopware-core)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1616.4k13](/packages/2lenet-crudit-bundle)

PHPackages © 2026

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