Developed with love by KnpLabs Hire us for your project!
34

MediaBundle

by symfony-cmf

Minimalistic interfaces to handle media in the context of the CMF

Symfony CMF Media Bundle

Build Status
Latest Stable Version
Total Downloads

This bundle is part of the Symfony Content Management Framework (CMF)
and licensed under the MIT License.

The MediaBundle provides a way to store and edit any media and provides a
generic base of common interfaces and models that allow the user to build media
management solutions for a CMS. Media can be images, binary documents (like pdf
files), embedded movies, uploaded movies, MP3s, etc. The implementation of this
bundle is very minimalistic and is focused on images and download files.
If you need more functionality (like cdn, thumbnail generation, providers for
different media types and more) take a look at
SonataMediaBundle. The
MediaBundle provides integration with SonataMediaBundle.

Requirements

Documentation

For the install guide and reference, see:

See also:

Contributing

Pull requests are welcome. Please see our
CONTRIBUTING
guide.

Unit and/or functional tests exist for this bundle. See the
Testing documentation
for a guide to running the tests.

Thanks to
everyone who has contributed already.

MediaBundle

The MIT License

Copyright (c) 2011-2013 Symfony2 CMF

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
cmf_media:
persistence:
phpcr:
enabled: false
media_basepath: /cms/media
manager_name: ~
media_class: Symfony\Cmf\Bundle\MediaBundle\Doctrine\Phpcr\Media
file_class: Symfony\Cmf\Bundle\MediaBundle\Doctrine\Phpcr\File
directory_class: Symfony\Cmf\Bundle\MediaBundle\Doctrine\Phpcr\Directory
image_class: Symfony\Cmf\Bundle\MediaBundle\Doctrine\Phpcr\Image
upload_file_role: ROLE_CAN_UPLOAD_FILE
use_jms_serializer: auto
use_elfinder: auto
use_imagine: auto
imagine_filter:
upload_thumbnail: image_upload_thumbnail
elfinder_thumbnail: elfinder_thumbnail
extra_filters: []
  • Merge pull request #121 from symfony-cmf/travis_cache
    By lsmith77, 1 year ago
  • Merge pull request #120 from symfony-cmf/travis_config
    By lsmith77, 1 year ago
  • bump dev version
    By lsmith77, 2 years ago
  • Use new Travis docker based env and caching
    By WouterJ, 2 years ago
  • Use latest versions in the test matrix
    By WouterJ, 2 years ago
  • hhvm setup is fixed in travis
    By lsmith77, 2 years ago
  • Merge pull request #118 from symfony-cmf/symfony-2
    By lsmith77, 2 years ago
  • symfony 2.x promised BC, but symfony 3 will happen sometime
    By dbu, 2 years ago
  • fix test setup, added php 5.6
    By lsmith77, 2 years ago
  • Merge pull request #116 from NAYZO/master
    By dbu, 2 years ago
  • minor fixes in the PhpcrDriver.php
    By NAYZO, 2 years ago
  • point travis status to master
    By lsmith77, 2 years ago
  • Merge pull request #112 from symfony-cmf/relax_deps
    By lsmith77, 2 years ago
  • relax the dependencies to allow minor updates
    By lsmith77, 2 years ago
  • prepare release
    By lsmith77, 2 years ago
  • Merge pull request #108 from symfony-cmf/2.5-patch
    By lsmith77, 2 years ago
  • Added Sf 2.5 and hhvm to Travis (allow 5.3 to fail)
    By lsmith77, 2 years ago
  • Merge pull request #111 from xleliberty/fix-imagine-cache-invalidate
    By lsmith77, 2 years ago
  • fix imagine cache invalidation bug
    By xleliberty, 2 years ago
  • Merge pull request #110 from symfony-cmf/doctrine-alias-mapping
    By lsmith77, 2 years ago
  • register doctrine alias to support CmfMediaBundle:Media shortcut
    By dbu, 2 years ago
  • Merge pull request #106 from JJK801/imagine-fix
    By dbu, 2 years ago
  • Make MediaBundle run on LiipImagineBundle ~1.0
    By JJK801, 2 years ago
  • Merge branch '1.1'
    By WouterJ, 2 years ago
  • Merge branch '1.0' into 1.1
    By WouterJ, 2 years ago
  • Fixed travis file
    By WouterJ, 2 years ago
  • Merge branch '1.1'
    By WouterJ, 2 years ago
  • Update travis versions
    By WouterJ, 2 years ago
  • Merge branch '1.0' into 1.1
    By WouterJ, 2 years ago
  • Reduced amount of travis jobs
    By WouterJ, 2 years ago