GithubHelp home page GithubHelp logo

benmacha / filemanagerbundle Goto Github PK

View Code? Open in Web Editor NEW

This project forked from artgris/filemanagerbundle

0.0 2.0 0.0 2.26 MB

FileManager is a simple Multilingual File Manager Bundle for Symfony

License: MIT License

PHP 83.25% HTML 16.75%

filemanagerbundle's Introduction

FileManagerBundle

Tests Code Quality Code Coverage Symfony 2.x, 3.x and 4.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)
  • 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
    • Client-side image resizing/crop
    • Exhaustive options

Documentation

The Book

Tutorials

Installation

Step 1: Download the Bundle

$ composer require artgris/filemanager-bundle

Step 2: Enable the Bundle

<?php
// app/AppKernel.php

// ...
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            // ...
            new Artgris\Bundle\FileManagerBundle\ArtgrisFileManagerBundle(),
        );
    }

    // ...
}

Step 3: Load the Routes

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

Step 4: Prepare the Web Assets

# Symfony 3
php bin/console assets:install --symlink

Step 5: Enable the translator service

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

Creating Your First File Manager

Create a folder uploads in web.

Add following configuration (symfony4) :

# app/config/config.yml
artgris_file_manager:
    web_dir: public                 # set your public Directory (not required, default value: web)
    conf:
        default:
            dir: "../public/uploads"

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.