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 1mo ago

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

28

—

LowBetter than 54% of packages

Maintenance46

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

417d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3fb494ca5da6d3783e7ccfa656354d43d111a024b573051f5ca8f922b0d386ca?d=identicon)[osw3](/maintainers/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

[sylius/sylius

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

8.4k5.6M650](/packages/sylius-sylius)[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k16.7M310](/packages/easycorp-easyadmin-bundle)[liip/imagine-bundle

This bundle provides an image manipulation abstraction toolkit for Symfony-based projects.

1.7k38.3M217](/packages/liip-imagine-bundle)[prestashop/prestashop

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

9.0k15.4k](/packages/prestashop-prestashop)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[ps/image-optimizer

Image optimization / compression library. This library is able to optimize png, jpg and gif files in very easy and handy way. It uses optipng, pngquant, pngcrush, pngout, gifsicle, jpegoptim and jpegtran tools.

9341.7M25](/packages/ps-image-optimizer)

PHPackages © 2026

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