PHPackages                             sfynx-project/media-api-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. [HTTP &amp; Networking](/categories/http)
4. /
5. sfynx-project/media-api-bundle

ActiveSymfony-bundle[HTTP &amp; Networking](/categories/http)

sfynx-project/media-api-bundle
==============================

This Bundle provides an api to manage medias or documents

v2.8.7(7y ago)191LGPL-3.0-or-laterPHPPHP &gt;=7.0

Since Dec 29Pushed 7y ago5 watchersCompare

[ Source](https://github.com/pigroupe/SfynxApiMediaBundle)[ Packagist](https://packagist.org/packages/sfynx-project/media-api-bundle)[ Docs](http://pigroupe.github.io/cmf-sfynx/)[ RSS](/packages/sfynx-project-media-api-bundle/feed)WikiDiscussions master Synced 5d ago

READMEChangelogDependencies (8)Versions (9)Used By (0)

SfynxApiMediaBundle
===================

[](#sfynxapimediabundle)

Symfony3/4's Sfynx Api Media Bundle provides an API to manage media from multiple storage locations (locale, azure, aws, etc) from KnpGaufretteBundle.

The API includes :

- permission-based media management handled by a jwt token with ssh key.
- API to generate jwt permission token
- image media transformation from imagick php extension
- media cache HTTP and media cache storage
- multiple storage locations to manage media from multiple applications

This bundle is a new version of the TmsMediaBundle (). We have debugged, improved the code, and added many features including media permissions management.

Documentation
-------------

[](#documentation)

The source of the documentation is stored in the `Resources/doc/` folder in this bundle :

- [Read the Documentation for master](https://github.com/pigroupe/SfynxApiMediaBundle/blob/master/Resources/doc/index.md)
- [Read the Documentation](Resources/doc/index.md)

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

[](#installation)

> a) Prerequisites

This version of the bundle requires `PHP 7.2+` with `imagick extension` enabled.

> b) Configuration

Add dependencies in your `composer.json` file:

```
"require": {
        ...
        "sfynx-project/media-api-bundle": "dev-master"
    },
```

Install these new dependencies of your application:

```
$ composer update --no-interaction --with-dependencies
```

Enable the bundles in your application kernel :

```
