PHPackages                             djvue/d-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. djvue/d-media-bundle

ActiveSymfony-bundle

djvue/d-media-bundle
====================

Symfony bundle for d-media package

0.9.10(3y ago)3162MITPHPPHP &gt;=8.0

Since Mar 12Pushed 3y ago1 watchersCompare

[ Source](https://github.com/djvue/d-media-bundle)[ Packagist](https://packagist.org/packages/djvue/d-media-bundle)[ RSS](/packages/djvue-d-media-bundle/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (25)Versions (21)Used By (0)

Symfony D-Media Bundle
======================

[](#symfony-d-media-bundle)

Introduction
------------

[](#introduction)

Symfony D-Media Bundle is a package that provides JSON REST HTTP API for frontend media manager library and services to use Medias on backend.

Frontend Package: [vue-d-media](https://github.com/djvue/vue-d-media)

Usage example: [symfony-d-media-bundle-example](https://github.com/djvue/symfony-d-media-bundle-example)

Usage example demo: [demo](https://d-media.webtm.ru)

Installation
------------

[](#installation)

Install with composer

```
composer require djvue/d-media-bundle
```

Requires PHP &gt;=8.0 and Symfony &gt;=5.2

You may also need to install frontend components. See instruction in frontend repository [vue-d-media](https://github.com/djvue/vue-d-media).

Getting started
---------------

[](#getting-started)

- Add bundle

config/bundles.php

```
return [
    ...,
    Djvue\DMediaBundle\DMediaBundle::class => ['all' => true],
];
```

- Import routes

config/routes.yaml

```
media:
    resource: '@DMediaBundle/Resources/config/routes/media.yaml'
    prefix: '/api/media' #your prefix equal to frontend library api.config.prefix
    trailing_slash_on_root: false
    name_prefix: board_media_
```

- Configure (optional)

config/packages/d\_media.yaml

```
d_media:
    filterable_entities:
        - workspace
    storage:
        public_url: /storage/medias
        directory: /uploads
    library:
        image_extensions: png, jpg, jpeg, webp
```

Help services
-------------

[](#help-services)

SomeClass.php

```
public function __construct(
    private MediaService $mediaService,
    private MediaEntityService $mediaEntityService,
) {
}
```

Security
--------

[](#security)

Bundle controller uses symfony/security. To control access add voters: MediaVoter and MediaGetListVoter.

See example in symfony example repository [symfony-d-media-bundle-example](https://github.com/djvue/symfony-d-media-bundle-example)

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

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 ~24 days

Recently: every ~0 days

Total

20

Last Release

1433d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/65b268c1f6cbc70648ce6e711b52059a34a3abec1b465daf4cbdc3a1af10e55d?d=identicon)[djvue](/maintainers/djvue)

---

Top Contributors

[![djvue](https://avatars.githubusercontent.com/u/43354975?v=4)](https://github.com/djvue "djvue (17 commits)")

###  Code Quality

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/djvue-d-media-bundle/health.svg)

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

###  Alternatives

[sylius/sylius

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

8.4k5.6M647](/packages/sylius-sylius)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[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)[contao/core-bundle

Contao Open Source CMS

1231.6M2.3k](/packages/contao-core-bundle)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

7310.3k29](/packages/open-dxp-opendxp)

PHPackages © 2026

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