artgris / filemanager-bundle
FileManager is a simple Multilingual File Manager Bundle for Symfony
Installs: 312 659
Dependents: 7
Suggesters: 1
Security: 0
Stars: 180
Watchers: 8
Forks: 89
Open Issues: 18
Type:symfony-bundle
Requires
- php: >=8.1
- oomphinc/composer-installers-extender: ^2.0
- symfony/asset: ^6.0||^7.0
- symfony/event-dispatcher: ^6.0||^7.0
- symfony/expression-language: ^6.0||^7.0
- symfony/flex: ^2.3
- symfony/form: ^6.0||^7.0
- symfony/framework-bundle: ^6.0||^7.0
- symfony/mime: ^6.0||^7.0
- symfony/string: ^6.0||^7.0
- symfony/translation: ^6.0||^7.0
- symfony/twig-bridge: ^6.0||^7.0
- symfony/twig-bundle: ^6.0||^7.0
- symfony/validator: ^6.0||^7.0
Requires (Dev)
- phpunit/phpunit: ^9.5
- symfony/browser-kit: ^6.0||^7.0
- symfony/css-selector: ^6.0||^7.0
- symfony/phpunit-bridge: ^6.0||^7.0
- symfony/templating: ^6.0||^7.0
- symfony/var-dumper: ^6.0||^7.0
- symfony/yaml: ^6.0||^7.0
- dev-master
- 135.x-dev
- 2.10.6
- 2.10.5
- 2.10.4
- 2.10.3
- 2.10.2
- 2.10.1
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.2
- 2.7.1
- 2.7.0
- 2.6.1
- 2.6.0
- 2.5.2
- 2.5.1
- 2.5.0
- 2.4.2
- 2.4.1
- 2.4.0
- 2.3.3
- 2.3.2
- 2.3.1
- 2.3.0
- 2.2.5
- 2.2.4
- 2.2.3
- 2.2.2
- 2.2.1
- 2.2.0
- 2.1.1
- 2.1
- 2.0.2
- 2.0.1
- 2.0.0
- 1.x-dev
- 1.6.7
- 1.6.6
- 1.6.5
- 1.6.4
- 1.6.3
- 1.6.2
- 1.6.1
- 1.6
- 1.5.x-dev
- 1.5.6
- 1.5.5
- 1.5.4
- 1.5.3
- 1.5.2
- 1.5.1
- 1.5
- 1.4.4
- 1.4.3
- 1.4.2
- 1.4.1
- 1.4
- 1.3.12
- 1.3.11
- 1.3.10
- 1.3.9
- 1.3.8
- 1.3.7
- 1.3.6
- 1.3.5
- 1.3.4
- 1.3.3
- 1.3.2
- 1.3.1
- 1.3
- 1.2.3
- 1.2.2
- 1.2.1
- 1.2
- 1.1.3
- 1.1.2
- 1.1.1
- 1.1.0
- 1.0.14
- 1.0.13
- 1.0.12
- 1.0.11
- 1.0.10
- 1.0.9
- 1.0.5
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- dev-allestuetsmerweh-doctrine-annotations
- dev-test-add-composer
- dev-test-workflows
- dev-symfony-6
- dev-logs
This package is auto-updated.
Last update: 2024-12-10 10:48:13 UTC
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.