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

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

saro0h/media-api-bundle
=======================

Api to upload files.

1.1(10y ago)12562MITPHPPHP &gt;=5.3.3

Since Oct 23Pushed 10y ago2 watchersCompare

[ Source](https://github.com/saro0h/MediaApiBundle)[ Packagist](https://packagist.org/packages/saro0h/media-api-bundle)[ RSS](/packages/saro0h-media-api-bundle/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (6)Versions (3)Used By (0)

Saro0h\\MediaApiBundle
======================

[](#saro0hmediaapibundle)

[![SensioLabsInsight](https://camo.githubusercontent.com/a700c5a87de4f831eb1e7da21765b26fc4956793717dd6d8d04e8582f528ca43/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f61386336393361662d646535322d343535632d393632362d3234373437346339666232632f736d616c6c2e706e67)](https://insight.sensiolabs.com/projects/a8c693af-de52-455c-9626-247474c9fb2c)

This bundle allows you to have an upload of files through an API.

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

[](#installation)

### Step 1: Install MediaApiBundle using [Composer](http://getcomposer.org)

[](#step-1-install-mediaapibundle-using-composer)

Add MediaApiBundle in your `composer.json`:

```
{
    "require": {
        "saro0h/media-api-bundle": "~1.0"
    }
}

```

Now tell composer to download the bundle by running the command:

```
$ php composer.phar update saro0h/media-api-bundle

```

### Step 2: Enable the bundle

[](#step-2-enable-the-bundle)

Enable the bundle in the kernel:

```
