Download the PHP package mandarinmedien/mmmmediabundle without Composer
On this page you can find all versions of the php package mandarinmedien/mmmmediabundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download mandarinmedien/mmmmediabundle
More information about mandarinmedien/mmmmediabundle
Files in mandarinmedien/mmmmediabundle
Download mandarinmedien/mmmmediabundle
More information about mandarinmedien/mmmmediabundle
Files in mandarinmedien/mmmmediabundle
Vendor mandarinmedien
Package mmmmediabundle
Short Description YAMB -> Yet another Media bundle
License MIT
Package mmmmediabundle
Short Description YAMB -> Yet another Media bundle
License MIT
Keywords media bundle
Please rate this library. Is it a good library?
Informations about the package mmmmediabundle
MMMediaBundle
Append to app/AppKernel.php
Append to app/config/config.yml
Append to App/config/routing.yml
Create web/media folder to store images
Use MMMediaBundle in your Entities
You need to use the MediaSortable Entity of this bundle to have sortable Media. For a collection of media, use an unidirectional manyToMany-association and for single media an unidirectional oneToOne. To avoid garbage in your database, make sure to set the orphanRemoval flag.
eg. yaml configuration for single media:
eg. yaml configuration for media collection:
Add all needed Assets to your layout
To make the MMMediaBundle-UploadWidget work properly you need to add the necessary CSS and the JS files. Your can just copy this part below or add @mmmedia_assets_css and @mmmedia_assets_js into your asset calls.
Twig-Example:
FormType Options
All versions of mmmmediabundle with dependencies
PHP Build Version
Package Version
The package mandarinmedien/mmmmediabundle contains the following files
Loading the files please wait ....