faradata/filemanager-bundle 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

faradata/filemanager-bundle

Composer 安装命令:

composer require faradata/filemanager-bundle

包简介

FaraData FileManager is a simple Multilingual File Manager Bundle for Symfony

README 文档

README

Tests Code Quality Code Coverage Symfony 2.x, 3.x and 4.x

FaraData 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
  • Compatible with FOSCKEditorBundle

Documentation

The Book

Tutorials

Installation

Step 1: Download the Bundle

$ composer require faradata/filemanager-bundle

Step 2: Enable the Bundle

<?php
// app/AppKernel.php

// ...
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            // ...
            new FOS\JsRoutingBundle\FOSJsRoutingBundle(),
            new Sg\DatatablesBundle\SgDatatablesBundle(),
            new Tetranz\Select2EntityBundle\TetranzSelect2EntityBundle(),
            new FaraData\FileManagerBundle\FaraDataFileManagerBundle(),
            new FaraData\FileManagerBundle\FaraDataFileManagerBundle(),
        );
    }

    // ...
}

Step 3: Load the Routes

# app/config/routing.yml
fara_data_file_manager:
    resource: "@FaraDataFileManagerBundle/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
fara_data_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

统计信息

  • 总下载量: 5
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-03-16

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固