PHPackages                             mediamonks/sonata-media-bundle - 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. mediamonks/sonata-media-bundle

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

mediamonks/sonata-media-bundle
==============================

A powerful, flexible and easy to use alternative for the existing Sonata Media Bundle

3.2.3(3y ago)109.8k6[1 issues](https://github.com/mediamonks/symfony-sonata-media-bundle/issues)MITPHPPHP ^7.4|^8.0

Since Jun 13Pushed 3y ago10 watchersCompare

[ Source](https://github.com/mediamonks/symfony-sonata-media-bundle)[ Packagist](https://packagist.org/packages/mediamonks/sonata-media-bundle)[ Docs](https://www.mediamonks.com/)[ RSS](/packages/mediamonks-sonata-media-bundle/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (18)Versions (24)Used By (0)

[![Build Status](https://camo.githubusercontent.com/2bdd832971491dd239ca1b4a108cf3332d228767a3911e9df575efed137befb9/68747470733a2f2f7472617669732d63692e6f72672f6d656469616d6f6e6b732f73796d666f6e792d736f6e6174612d6d656469612d62756e646c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/mediamonks/symfony-sonata-media-bundle)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/42d8ef274c05701e907222b87584ecf87cad99bcf96f98f88f3577482a87fd90/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6d656469616d6f6e6b732f73796d666f6e792d736f6e6174612d6d656469612d62756e646c652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/mediamonks/symfony-sonata-media-bundle/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/3578547b80a9bb67a305236351ccd1da6f99991a2ae6cb1f988fd35566f20aec/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6d656469616d6f6e6b732f73796d666f6e792d736f6e6174612d6d656469612d62756e646c652f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/mediamonks/symfony-sonata-media-bundle/?branch=master)[![Total Downloads](https://camo.githubusercontent.com/c9e90840f2774bea8329d43d6dfab65471d792b83f620d22337e84319054002d/68747470733a2f2f706f7365722e707567782e6f72672f6d656469616d6f6e6b732f736f6e6174612d6d656469612d62756e646c652f646f776e6c6f616473)](https://packagist.org/packages/mediamonks/sonata-media-bundle)[![Latest Stable Version](https://camo.githubusercontent.com/f26e2ce68fc913dfd8f98cb800e8580bd15ea0702f900891259a7cae8d81cb7a/68747470733a2f2f706f7365722e707567782e6f72672f6d656469616d6f6e6b732f736f6e6174612d6d656469612d62756e646c652f762f737461626c65)](https://packagist.org/packages/mediamonks/sonata-media-bundle)[![Latest Unstable Version](https://camo.githubusercontent.com/43491c8c770dd22a4b51b215b09f09d91a42cdfa5da88ebbf20cfd0c58aa5684/68747470733a2f2f706f7365722e707567782e6f72672f6d656469616d6f6e6b732f736f6e6174612d6d656469612d62756e646c652f762f756e737461626c65)](https://packagist.org/packages/mediamonks/sonata-media-bundle)[![SensioLabs Insight](https://camo.githubusercontent.com/d3c43d1a23588607b4c7a1f66cd902790c5c2c2f5dd891347ee66289dceb0bbc/68747470733a2f2f696d672e736869656c64732e696f2f73656e73696f6c6162732f692f33383430656332632d643434332d346631352d613738362d6439323036363134666531642e737667)](https://insight.sensiolabs.com/projects/3840ec2c-d443-4f15-a786-d9206614fe1d)[![License](https://camo.githubusercontent.com/57d03837215b3d26ccd84e608390666375aa84124131e0d2b401e095fbf605d4/68747470733a2f2f706f7365722e707567782e6f72672f6d656469616d6f6e6b732f736f6e6174612d6d656469612d62756e646c652f6c6963656e7365)](https://packagist.org/packages/mediamonks/sonata-media-bundle)

MediaMonksSonataMediaBundle
===========================

[](#mediamonkssonatamediabundle)

This bundle is an alternative to the existing Sonata Media Bundle.

The concept of this bundle is to provide an easy method of uploading different kinds of media to your admin with an easy method of displaying thumbnails and embeds. It is assumed you have some kind of persistent storage behind a CDN or reverse proxy where you place your images on and your CDN or reverse proxy can cache redirect headers to prevent end users hitting your web servers.

Features
--------

[](#features)

- Supports many [file systems](https://flysystem.thephpleague.com/) to store the media (S3, Azure, Google Cloud, (S)FTP, Rackspace)
- Supports image uploads, file uploads, YouTube, Vimeo &amp; SoundCloud
- Supports a private and public storage
- Generate thumbnails with [various options](http://glide.thephpleague.com/2.0/api/quick-reference/)
- Caches redirects to your images in your CDN or reverse proxy by using cache control headers
- Embed media with Twig filters

Documentation
-------------

[](#documentation)

Please refer to the files in the [/docs](/docs) folder.

System Requirements
-------------------

[](#system-requirements)

You need:

- **PHP &gt;= 7.4**
- **Symfony Framework &gt;= 5.1**
- **Sonata Admin &gt;= 4.0**
- **Flysystem &gt;= 4.0**
- **Glide &gt;= 2.0**

To use the library.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Sonata Project](https://sonata-project.org/) for creating their [Media Bundle](https://github.com/sonata-project/SonataMediaBundle) which was obviously the main inspiration for this alternative bundle
- [Flysystem](https://flysystem.thephpleague.com/) for accessing different kinds of file systems
- [Glide](http://glide.thephpleague.com/) for providing a great api to do image manipulation

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity78

Established project with proven stability

 Bus Factor1

Top contributor holds 96.6% 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 ~106 days

Recently: every ~51 days

Total

21

Last Release

1112d ago

Major Versions

1.0.3 → 2.0.02018-03-23

2.0.6 → 3.0.02022-05-25

PHP version history (3 changes)1.0.0PHP ^5.5|^7.0

2.0.0PHP ^7.0

3.0.0PHP ^7.4|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/411c94cbec325fa9a747f4677bb07355b374a0f01008e48c33f809627004fa5d?d=identicon)[mediamonks](/maintainers/mediamonks)

---

Top Contributors

[![slootjes](https://avatars.githubusercontent.com/u/17158090?v=4)](https://github.com/slootjes "slootjes (230 commits)")[![mediamonks-robert](https://avatars.githubusercontent.com/u/7644785?v=4)](https://github.com/mediamonks-robert "mediamonks-robert (2 commits)")[![B-Galati](https://avatars.githubusercontent.com/u/895123?v=4)](https://github.com/B-Galati "B-Galati (2 commits)")[![ThaNarie](https://avatars.githubusercontent.com/u/1449580?v=4)](https://github.com/ThaNarie "ThaNarie (1 commits)")[![rodrigocatalano](https://avatars.githubusercontent.com/u/18216323?v=4)](https://github.com/rodrigocatalano "rodrigocatalano (1 commits)")[![ceesvanegmond](https://avatars.githubusercontent.com/u/883497?v=4)](https://github.com/ceesvanegmond "ceesvanegmond (1 commits)")[![marcobrotas](https://avatars.githubusercontent.com/u/6604014?v=4)](https://github.com/marcobrotas "marcobrotas (1 commits)")

---

Tags

phpsonatasonata-adminsymfonysymfony-bundlesymfonybundlethumbnailimageresizevideoyoutubemediaadminembedsonataoembedfocal pointsoundfocalpoint

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mediamonks-sonata-media-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/mediamonks-sonata-media-bundle/health.svg)](https://phpackages.com/packages/mediamonks-sonata-media-bundle)
```

###  Alternatives

[sonata-project/admin-bundle

The missing Symfony Admin Generator

2.1k19.0M299](/packages/sonata-project-admin-bundle)[sonata-project/doctrine-orm-admin-bundle

Integrate Doctrine ORM into the SonataAdminBundle

46117.7M155](/packages/sonata-project-doctrine-orm-admin-bundle)[dereuromark/media-embed

A PHP library to deal with all those media services around, parsing their URLs and embedding their audio/video content in websites.

182530.3k11](/packages/dereuromark-media-embed)[cohensive/oembed

Media embed generation using OEmbed protocol.

3567.1k](/packages/cohensive-oembed)[jolicode/media-bundle

A media management bundle for Symfony applications, with Easyadmin and SonataAdmin integrations.

1054.9k](/packages/jolicode-media-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)
