artgris/filemanager-bundle
最新稳定版本:2.10.6
Composer 安装命令:
composer require artgris/filemanager-bundle
包简介
FileManager is a simple Multilingual File Manager Bundle for Symfony
README 文档
README
FileManager is a simple Multilingual File Manager Bundle for Symfony
Features
- Upload, delete (multiple), rename, download and sort files
- Create, rename and delete folders
- Manage Public and Private folders
- File Names Sanitizer / Slugger (Look Documentation)
- Multilingual (English, French, Catalan, German, Spanish, Dutch, Portuguese, Romanian, Russian, Turkish)
- 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
- Chapter 0 - Installation and your first File Manager
- Chapter 1 - Basic Configuration
- Chapter 2 - Service Configuration
- Chapter 3 - Access to the File Manager
- Chapter 4 - Security | Hide and/or block access to specific files or folders
Tutorials
- How to integrate FileManagerBundle into Tinymce
- How to integrate FileManagerBundle into FOSCKEditorBundle
- How to add a button that open the File manager to fill out an input field with the file URL
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: attribute 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.
统计信息
- 总下载量: 399.68k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 185
- 点击次数: 1
- 依赖项目数: 9
- 推荐数: 1
其他信息
- 授权协议: MIT
- 更新时间: 2017-04-11
