adsign / filemanager-bundle
Adsign FileManager is a simple Multilingual File Manager Bundle for Symfony
Installs: 1
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=5.6.0
- friendsofsymfony/jsrouting-bundle: ^1.6|^2.0
- oomphinc/composer-installers-extender: ^1.1
- sensio/framework-extra-bundle: ~2.3|~3.0,>=3.0.2|4.0.x|~5.0
- sg/datatablesbundle: ^1.1.1
- symfony/asset: ~2.3|~3.0|^4.0
- symfony/form: ~2.3|~3.0|^4.0
- symfony/translation: ~2.3|~3.0|^4.0
- symfony/twig-bridge: ^2.3.4|~3.0|^4.0
- symfony/twig-bundle: ^2.3.4|~3.0|^4.0
- symfony/validator: ~2.3|~3.0|^4.0
- tetranz/select2entity-bundle: ^2.5.1
- twig/extensions: ~1.0
Requires (Dev)
- phpunit/phpunit: ^4.0|^5.0
- symfony/browser-kit: ~2.3|~3.0|^4.0
- symfony/css-selector: ~2.3|~3.0|^4.0
- symfony/security-bundle: ~2.3|~3.0|^4.0
- symfony/templating: ~2.3|~3.0|^4.0
- symfony/var-dumper: ~2.3|~3.0|^4.0
- symfony/yaml: ~2.3|~3.0|^4.0
README
Adsign 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
- 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
- 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
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 adsign/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 Adsign\FileManagerBundle\AdsignFileManagerBundle(), new Adsign\FileManagerBundle\AdsignFileManagerBundle(), ); } // ... }
Step 3: Load the Routes
# app/config/routing.yml fara_data_file_manager: resource: "@AdsignFileManagerBundle/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