PHPackages                             karls/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. [File &amp; Storage](/categories/file-storage)
4. /
5. karls/media-bundle

ActiveSymfony-bundle[File &amp; Storage](/categories/file-storage)

karls/media-bundle
==================

Bundle for Unite-Cms. Provides a new Field Type for handling S3 Stored files select from Storage and save it right.

1.3.4(6y ago)1751[2 issues](https://github.com/Karls-Developers/MediaBundle/issues)[1 PRs](https://github.com/Karls-Developers/MediaBundle/pulls)PHP

Since Oct 10Pushed 5y agoCompare

[ Source](https://github.com/Karls-Developers/MediaBundle)[ Packagist](https://packagist.org/packages/karls/media-bundle)[ RSS](/packages/karls-media-bundle/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (10)Dependencies (2)Versions (17)Used By (0)

Karls Media Bundle for Unite-Cms
================================

[](#karls-media-bundle-for-unite-cms)

#### !! The config `thumbnail_url` is in the next version not available anymore. Please delete it in all your configs. !!

[](#-the-config-thumbnail_url-is-in-the-next-version-not-available-anymore-please-delete-it-in-all-your-configs-)

Provides a new Field Type for handling S3 Stored files select from Storage and save it right.

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

[](#installation)

via composer

```
    composer require karls/media-bundle

```

in config/bundles.php

```
Karls\MediaBundle\KarlsMediaBundle::class => ['all' => true],

```

in config/packages/assets.yaml

```
framework:
    assets:
        packages:
            KarlsMediaBundle:
                json_manifest_path: "%kernel.project_dir%/public/bundles/karlsmedia/manifest.json"
                base_path: '/bundles/karlsmedia'
```

in config/routes/unite-cms.php

```
$routes->addCollection($loader->import("@KarlsMediaBundle/Resources/config/routing.$approach.yml"));
```

Usage
-----

[](#usage)

#### Media

[](#media)

unite cms does not manage any files directly but provides a file field that stores a reference using any s3 compatible API (Amazon, minio.io etc.). The file field renders an upload input element that allows the content editors to upload files directly to the s3 compatible server, using a presgined upload url. The file filed also reacts on content delete and update events and tries to delete files, that are not used anymore. In order to use the file field, set the required bucket and optional file\_type settings:

```
{
  "type": "media",
  "settings": {
    "bucket": {
      "endpoint": "S3 Endpoint",
      "bucket": "S3 Bucket",
      "path": "myfiles"
    },
    "file_types": "txt,pdf,doc"
  }
}

```

#### MediaImage

[](#mediaimage)

The image type is an extension of the file input type that renders a thumbnail preview next to the upload input type and limits file\_type to "png,gif,jpeg,jpg":

```
{
  "type": "mediaimage",
  "settings": {
    "bucket": { ... },
    //  read warning on top of wiki, has no function anymore but will be removed in the next version
    "thumbnail_url": "your_thumbnailing_service.com/{endpoint}/{id}/{name}"
  }
}

```

The optional thumbnail url allows you to add a link to the file directly or to any thumbnailing service. For a description of the bucket setting, please see the file type documentation.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 51.9% 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 ~33 days

Recently: every ~2 days

Total

15

Last Release

2310d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c4c22182dfb6bda93810f8774fb297e8daad9be2898c6f699689f378417469e5?d=identicon)[Karls-Developers](/maintainers/Karls-Developers)

---

Top Contributors

[![Benedict-Lojewski](https://avatars.githubusercontent.com/u/44462588?v=4)](https://github.com/Benedict-Lojewski "Benedict-Lojewski (14 commits)")[![Karls-Developers](https://avatars.githubusercontent.com/u/30835517?v=4)](https://github.com/Karls-Developers "Karls-Developers (10 commits)")[![MelanieJakob](https://avatars.githubusercontent.com/u/44771824?v=4)](https://github.com/MelanieJakob "MelanieJakob (3 commits)")

### Embed Badge

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

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

###  Alternatives

[knplabs/gaufrette

PHP library that provides a filesystem abstraction layer

2.5k39.8M123](/packages/knplabs-gaufrette)[google/cloud-storage

Cloud Storage Client for PHP

34390.8M125](/packages/google-cloud-storage)[illuminate/filesystem

The Illuminate Filesystem package.

15261.6M2.6k](/packages/illuminate-filesystem)[superbalist/flysystem-google-storage

Flysystem adapter for Google Cloud Storage

26320.6M30](/packages/superbalist-flysystem-google-storage)[creocoder/yii2-flysystem

The flysystem extension for the Yii framework

2931.7M62](/packages/creocoder-yii2-flysystem)[flowjs/flow-php-server

PHP library for handling chunk uploads. Works with flow.js html5 file uploads.

2451.6M15](/packages/flowjs-flow-php-server)

PHPackages © 2026

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