Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/helios-ag/fmrfmbundle

RichfilemanagerBundle provides Richfilemanager integration with CKEditor and other editors
https://github.com/helios-ag/fmrfmbundle

bundle ckeditor filemanager php-filemanager richfilemanager symfony symfony-bundle

Last synced: 4 days ago
JSON representation

RichfilemanagerBundle provides Richfilemanager integration with CKEditor and other editors

Awesome Lists containing this project

README

        

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

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

### Code Quality Assurance ###

| TravisCI | License | Version | Downloads |
|----------| --------|---------|----------|
|[![Build Status](https://travis-ci.org/helios-ag/FMRFMBundle.svg?branch=master)](http://travis-ci.org/helios-ag/FMElfinderBundle)|[![License](https://poser.pugx.org/helios-ag/fm-rfm-bundle/license)](https://packagist.org/packages/helios-ag/fm-rfm-bundle)|[![Latest Stable Version](https://poser.pugx.org/helios-ag/fm-rfm-bundle/v/stable)](https://packagist.org/packages/helios-ag/fm-rfm-bundle)|[![Total Downloads](https://poser.pugx.org/helios-ag/fm-rfm-bundle/downloads)](https://packagist.org/packages/helios-ag/fm-rfm-bundle)|

**RichfileManager** An open-source file manager. http://fm.devale.pro

**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

### Step 1: Installation

Add FMRFMBundle to your composer.json

```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

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

Add composer script

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

to scripts section of composer.json

```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:

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

### Step 2: Enable the bundle

Enable the bundle in the kernel:

```php