nks / file-manage-bundle
Symfony file manager bundle
Installs: 36
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 1
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=5.5.9
- symfony/symfony: >=2.7
This package is not auto-updated.
Last update: 2024-12-16 16:56:30 UTC
README
File manager symfony bundle
Setup
composer
$ composer require nks/file-manage-bundle
app/AppKernel.php
<?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new FileManagerBundle\FileManagerBundle(), // ... ); }
app/config/routing.yml
FileManagerBundle: resource: "@FileManagerBundle/Resources/config/routing.yml" prefix: /fm
Config bundle
file_manager: web_dir: "%kernel.root_dir%/../web/" // web directory file_manager_dir: "fileManager/" // file manager directory in web type_file: // type file load - 'jpg' - 'png'
@todo
- fix bug delete folder not clear yml file chain