PHPackages                             helios-ag/fm-rfm-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. helios-ag/fm-rfm-bundle

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

helios-ag/fm-rfm-bundle
=======================

FMRichfilemanager bundle, adds Richfilemanager file manager to your Symfony project

1.0(7y ago)0701[9 PRs](https://github.com/helios-ag/FMRFMBundle/pulls)MITPHPPHP ^7.1

Since Jun 13Pushed 5y ago2 watchersCompare

[ Source](https://github.com/helios-ag/FMRFMBundle)[ Packagist](https://packagist.org/packages/helios-ag/fm-rfm-bundle)[ Docs](https://github.com/helios-ag/FMRFMBundle)[ RSS](/packages/helios-ag-fm-rfm-bundle/feed)WikiDiscussions master Synced today

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

FMRFMBundle
===========

[](#fmrfmbundle)

[RichfileManager](https://github.com/servocoder/RichFilemanager) integration in Symfony

### Code Quality Assurance

[](#code-quality-assurance)

TravisCILicenseVersionDownloads[![Build Status](https://camo.githubusercontent.com/5b8eeba754f9126a016e101749b191af1c515dff8d5b558e1b4cd544616e73cc/68747470733a2f2f7472617669732d63692e6f72672f68656c696f732d61672f464d52464d42756e646c652e7376673f6272616e63683d6d6173746572)](http://travis-ci.org/helios-ag/FMElfinderBundle)[![License](https://camo.githubusercontent.com/991ab9722c2f02bbb6a672f4945dbd9c207600bb97092e1df027d8a1f5f21927/68747470733a2f2f706f7365722e707567782e6f72672f68656c696f732d61672f666d2d72666d2d62756e646c652f6c6963656e7365)](https://packagist.org/packages/helios-ag/fm-rfm-bundle)[![Latest Stable Version](https://camo.githubusercontent.com/e2e6a166c4734c05afd77f8c86de8747edcb177382344093f9fa45cbd7ff1224/68747470733a2f2f706f7365722e707567782e6f72672f68656c696f732d61672f666d2d72666d2d62756e646c652f762f737461626c65)](https://packagist.org/packages/helios-ag/fm-rfm-bundle)[![Total Downloads](https://camo.githubusercontent.com/34d32f00c9b1d6b5557c0f69ff16708a1c3e8bee6488f6934fcd2b360f3c4e50/68747470733a2f2f706f7365722e707567782e6f72672f68656c696f732d61672f666d2d72666d2d62756e646c652f646f776e6c6f616473)](https://packagist.org/packages/helios-ag/fm-rfm-bundle)**RichfileManager** An open-source file manager.

**Table of contents**

- [Installation](#installation)
    - [Step 1: Installation](#step-1-installation)
    - [Step 2: Enable the bundle](#step-2-enable-the-bundle)
    - [Step 3: Import FMRFMBundle routing file](#step-3-import-fmrfmbundle-routing-file)
    - [Step 4: Securing paths](#step-4-configure-your-applications-securityyml)

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

[](#installation)

### Step 1: Installation

[](#step-1-installation)

Add FMRFMBundle to your composer.json

```
{
    "require": {
        "helios-ag/fm-rfm-bundle": "~1"
    }
}
```

If you want to override default assets directory of Richfilemanager, add next option. By default assets copied to `web/assets/richfilemanager` or `public/assets/richfilemanager`depending on Symfony version

```
{
    "config": {
        "rfm-dir": "web/assets/richfilemanager/"
    }
}
```

Add composer script

`"FM\\RFMBundle\\Composer\\RFMScriptHandler::copy",`

to scripts section of composer.json

```
{
  "scripts": {
      "symfony-scripts": [
          "Incenteev\\ParameterHandler\\ScriptHandler::buildParameters",
          "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
          "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
          "FM\\RFMBundle\\Composer\\RFMScriptHandler::copy",
          "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
          "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile",
          "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::prepareDeploymentTarget"
      ]
    }
}
```

Also you can copy assets manually. Copy dirs: 'config, 'images', 'languages', 'libs', 'src', 'themes' from `vendor/servocoder/richfilemanager/` to your public assets directory

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

```
composer update helios-ag/fm-rfm-bundle
```

### Step 2: Enable the bundle

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

Enable the bundle in the kernel:

```
