Skip to content

Latest commit

 

History

History
57 lines (38 loc) · 1.33 KB

0-installation.md

File metadata and controls

57 lines (38 loc) · 1.33 KB

Chapter 0. Installation and your first File Manager

FileManager Project is a simple Multilingual File Manager Bundle for symfony

Installation

Step 1: Download the Bundle

$ composer require artgris/filemanager-bundle

Step 2: Load the Routes

# app/config/routing.yml
artgris_bundle_file_manager:
    resource: "@ArtgrisFileManagerBundle/Controller"
    type:     attribute
    prefix:   /manager

Step 3: Enable the translator service

# app/config/config.yml
framework:
    translator: { fallbacks: [ "en" ] }

Creating Your First File Manager

Create a folder uploads in public.

Add following minimal configuration :

# app/config/config.yml
artgris_file_manager:
    conf:
        default:
            dir: "%kernel.project_dir%/public/uploads"

Browse the /manager/?conf=default URL and you'll get access to your file manager

Symfony Filemanager created with FileManagerBundle


Chapter 1. Basic Configuration