• Stars
    star
    172
  • Rank 221,201 (Top 5 %)
  • Language
    PHP
  • License
    MIT License
  • Created over 7 years ago
  • Updated 6 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

FileManager is a simple Multilingual File Manager Bundle for Symfony

FileManagerBundle

Symfony 2.x, 3.x, 4.x, 5.x, 6.x

FileManager is a simple Multilingual File Manager Bundle for Symfony

Symfony Filemanager created with FileManagerBundle

Features

  • Upload, delete (multiple), rename, download and sort files
  • Create, rename and delete folders
  • Manage Public and Private folders
  • Multilingual (English, French, Catalan, German, Spanish, Dutch, Portuguese, Romanian, Russian)
  • Fully responsive design (bootstrap)
  • Multilple view modes (list, thumbnail, with tree or not)
  • Easy integration with Tinymce
  • Preview images (even with a Private folder)
  • Create multilple configurations
  • Advanced configuration (ex : ACL, ...) with your own service
  • File restriction based on patterns
  • File Upload widget used : blueimp/jQuery-File-Upload
    • Multiple uploads support
    • Drag & Drop support
    • Min/Max file size restriction
    • Thumbnails generation
    • Exhaustive options
  • Compatible with FOSCKEditorBundle

Documentation

The Book

Tutorials

Installation

Step 1: Download the Bundle

$ composer require artgris/filemanager-bundle

Step 2: Load the Routes

# app/config/routes.yaml
artgris_bundle_file_manager:
    resource: "@ArtgrisFileManagerBundle/Controller"
    type:     annotation
    prefix:   /manager

Step 3: Enable the translator service

# app/config/packages/translation.yaml
framework:
    translator: { fallbacks: [ "en" ] }

Creating Your First File Manager

Create a folder uploads in public.

Add following configuration:

# app/config/packages/artgris_file_manager.yaml
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

Run tests:

./vendor/bin/simple-phpunit

Demo Application

FileManagerDemo is a complete Symfony application (Symfony 4.4 and 5.0) created to showcase FileManagerBundle features.