nks/file-manage-bundle

Symfony file manager bundle

Installs: 37

Dependents: 0

Suggesters: 0

Security: 0

Stars: 3

Watchers: 1

Forks: 0

Open Issues: 0

Type:symfony-bundle

pkg:composer/nks/file-manage-bundle

0.9.4 2017-03-17 09:49 UTC

This package is not auto-updated.

Last update: 2025-10-06 21:10:54 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