Ecosyste.ms: Awesome

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

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

:file_folder: ElFinderBundle provides ElFinder integration with TinyMCE, CKEditor, Summernote editors
https://github.com/helios-ag/FMElfinderBundle

bundle ckeditor elfinder php symfony symfony-bundle tinymce

Last synced: 3 months ago
JSON representation

:file_folder: ElFinderBundle provides ElFinder integration with TinyMCE, CKEditor, Summernote editors

Lists

README

        

FMElfinderBundle
================

[ElFinder](https://github.com/Studio-42/elFinder) integration in Symfony

### Code Quality Assurance ###

Proudly developed with [![PhpStorm](https://img.shields.io/badge/phpstorm-143?style=for-the-badge&logo=phpstorm&logoColor=black&color=black&labelColor=darkorchid)](https://www.jetbrains.com/phpstorm/)

| Tests | Coverage| License | Version |
|-------------|-----------------|-----------------|----------------|
|[![Tests - Linux](https://github.com/helios-ag/FMElfinderBundle/actions/workflows/test.yaml/badge.svg)](https://github.com/helios-ag/FMElfinderBundle/actions/workflows/test.yaml)|[![Coverage Status](https://coveralls.io/repos/helios-ag/FMElfinderBundle/badge.svg?branch=master&service=github)](https://coveralls.io/github/helios-ag/FMElfinderBundle?branch=master)|[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE)|[![Latest Stable Version](https://poser.pugx.org/helios-ag/fm-elfinder-bundle/v/stable.svg)](https://packagist.org/packages/helios-ag/fm-elfinder-bundle)|

| Downloads |
|----------|
|[![Total Downloads](https://poser.pugx.org/helios-ag/fm-elfinder-bundle/downloads.svg)](https://packagist.org/packages/helios-ag/fm-elfinder-bundle)|

**elFinder** is an open-source file manager for web, written in JavaScript using jQuery UI.
Creation is inspired by simplicity and convenience of Finder program used in Mac OS X operating system.

Recommended bundles to use with:

| FMTinyMCEBundle | FOSCKEditorBundle | TrsteelCkeditorBundle| FMSummernoteBundle |
| ------------------------|-------------|-----------------|-----------------|
|[![FMTinyMCEBundle](https://img.shields.io/badge/FMTinyMCEBundle-download-brightgreen.svg)](https://github.com/helios-ag/FMTinyMCEBundle)|[![FOSCKEditorBundle](https://img.shields.io/badge/FOSCKEditorBundle-download-orange.svg)](https://github.com/FriendsOfSymfony/FOSCKEditorBundle)|[![TrsteelCkeditorBundle](https://img.shields.io/badge/TrsteelCkeditorBundle-download-blue.svg)](https://github.com/trsteel88/TrsteelCkeditorBundle)|[![FMSummernoteBundle](https://img.shields.io/badge/FMSummernoteBundle-download-brightgreen.svg)](https://github.com/helios-ag/summernote-bundle)|

**Table of contents**

- [Installation](#installation)
- [Step 1: Installation](#step-1-installation)
- [Step 2: Enable the bundle](#step-2-enable-the-bundle-optional)
- [Step 3: Import FMElfinderBundle routing file](#step-3-import-fmelfinderbundle-routing-file)
- [Step 4: Securing paths](#step-4-configure-your-applications-securityyaml)
- [Basic configuration](#basic-configuration)
- [Add configuration options to your config.yaml](#add-configuration-options-to-your-configyaml)
- [Use multiple upload folder by instance](#use-multiple-upload-folder-by-instance)
- [CORS support](/docs/cors-support.md)
- [Events listeners / subscribers](/docs/events-listeners-subscribers.md)
- [Events](/docs/events-listeners-subscribers.md#events)
- [Sub requests](/docs/events-listeners-subscribers.md#sub-requests)
- [Elfinder Form Type](/docs/elfinder-form-type.md)
- [Configuration](/docs/elfinder-form-type.md#configuration)
- [EasyAdmin 2.x](/docs/elfinder-form-type.md#easyadmin-2x-integration)
- [EasyAdmin 3.x/4.x](/docs/elfinder-form-type.md#easyadmin-3x/4x-integration)
- [CKEditor integration](/docs/ckeditor-integration.md)
- [Installation](/docs/ckeditor-integration.md#step-1-installation)
- [Configuration](/docs/ckeditor-integration.md#step-2-configure-ckeditor-setting-via-settingsyml-or-through-form-builder)
- [TinyMCE integration](/docs/tinymce-integration.md)
- [Integration with TinyMCE 3](/docs/tinymce-integration.md#tinymce-3x)
- [Integration with TinyMCE 4](/docs/tinymce-integration.md#tinymce-4x)
- [Summernote integration](/docs/summernote-integration.md)
- [Advanced configuration](/docs/advanced-configuration.md)
- [Custom configuration provider](/docs/advanced-configuration.md#custom-configuration-provider)
- [Custom loader](/docs/advanced-configuration.md#custom-loader)
- [Plugins](/docs/advanced-configuration.md#plugins)
- [Service as volume driver](/docs/advanced-configuration.md#symfony-service-as-a-volume-driver)
- [Flysystem configuration](/docs/advanced-configuration.md#flysystem-configuration)
- [Configuration dump](/docs/configuration-dump.md)

## Installation

### Step 1: Installation

For Symfony Flex installation you need to enable community recipes:

```sh
composer config extra.symfony.allow-contrib true
```

Install

```sh
composer require helios-ag/fm-elfinder-bundle
```

Copy elfinder assets to public folder

```sh
bin/console elfinder:install
```

### Step 2: Enable the bundle (Optional)

Enable the bundle in the kernel (not needed with symfony flex):

```php