PHPackages                             wanadev/mce-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. wanadev/mce-media-bundle

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

wanadev/mce-media-bundle
========================

This bundle handles the integration of File Manager and Image Manager plugins inside TinyMCE

0634PHP

Since Dec 6Pushed 12y ago2 watchersCompare

[ Source](https://github.com/wanadev/ElaoMceMediaBundle)[ Packagist](https://packagist.org/packages/wanadev/mce-media-bundle)[ RSS](/packages/wanadev-mce-media-bundle/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

Elao MceMedia Bundle : Description
==================================

[](#elao-mcemedia-bundle--description)

#### This bundle handles the integration of File Manager and Image Manager plugins inside TinyMCE

[](#this-bundle-handles-the-integration-of-file-manager-and--image-manager-plugins-inside-tinymce)

We added as an *extra feature* an **input of type asset** that is linked to the Image Manager. What's that ?

It adds next to the text input, an extra button to upload any image to the Image Manager. Once the upload is done, a preview of the image is shown.

Once the form is saved, it stores the image path.

Download &amp; Install
======================

[](#download--install)

Via composer:

```
// composer.json
{
    // ...
    "require": {
        // ...
        "elao/mce-media-bundle": "dev-master"
    }
}

```

Update your composer.phar:

```
$ php composer.phar update

```

Include it in your Kernel class:

```
// app/AppKernel.php
public function registerBundles()
{
    $bundles = array(
        new Elao\Bundle\MceMediaBundle\ElaoMceMediaBundle(),
        ...
    );
}

```

How to use the asset field ?
============================

[](#how-to-use-the-asset-field-)

First, you must include the js file `/bundles/elaomcemedia/js/input_asset.js`, the TinyMCE script, and the file `tiny_mce/plugins/imagemanager/`

Then you just need to transform your text input into an asset input:

```

    $('myInput').inputAsset();

```

Different configurations are available for the field:

- `delete_image`: The delete icon
- `delete_label`: The delete label that appears when hovering the delete\_image
- `pick_up_image`: The icon to open the Image Manager plugin
- `pick_up_label`: The label that is shown when hovering the pick\_up\_image
- `image_size`: The size of the preview image

Authenticator for Image Manager &amp; File Manager
==================================================

[](#authenticator-for-image-manager--file-manager)

We need to modify the file `/tinymce/plugins/imagemanger/config.php` or/and `/tinymce/plugins/filemanger/config.php `

```
'authenticator' = ExternalAuthenticator
'ExternalAuthenticator.external_auth_url' = /_tinymce/login
'ExternalAuthenticator.secret_key' = someSecretKey

```

Configuration under Symfony

```
[yml]
# config.yml
elao_mce_media:
    is_login: false # Default nobody has access to the manager, but if true, the role is ignored
    role: ROLE_ADMIN # The role that the user must have in order to access to the manager
    secret_key: someSecretKey
    configs:
        my.key: value

[yml]
# routing.yml
elao_mce_media:
    resource: @ElaoMceMediaBundle/Resources/config/routing.yml

```

Things to configure with the application

- configs: an array of config keys for the plugins ().

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 92.3% 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/419078?v=4)[Florent Viel](/maintainers/luxifer)[@luxifer](https://github.com/luxifer)

---

Top Contributors

[![benji07](https://avatars.githubusercontent.com/u/166890?v=4)](https://github.com/benji07 "benji07 (12 commits)")[![tristanbes](https://avatars.githubusercontent.com/u/346010?v=4)](https://github.com/tristanbes "tristanbes (1 commits)")

### Embed Badge

![Health badge](/badges/wanadev-mce-media-bundle/health.svg)

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

###  Alternatives

[goat1000/svggraph

Generates SVG graphs

133890.0k3](/packages/goat1000-svggraph)[imagekit/imagekit

PHP library for Imagekit

46877.3k10](/packages/imagekit-imagekit)[gravatarphp/gravatar

Gravatar URL builder which is most commonly called as a Gravatar library

12644.1k2](/packages/gravatarphp-gravatar)

PHPackages © 2026

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