Skip to content

Latest commit

 

History

History
50 lines (34 loc) · 1018 Bytes

INSTALL.md

File metadata and controls

50 lines (34 loc) · 1018 Bytes

Installation instructions

Requirements

  • eZ Platform 1.0+
  • eZ Publish 5

Installation steps

Use Composer

Run the following from your website root folder to install NetgenEnhancedBinaryFileBundle:

$ composer require netgen/enhanced-binary-file-bundle

Activate the bundle

Activate required bundles in app/AppKernel.php file by adding them to the $bundles array in registerBundles method:

public function registerBundles()
{
    ...
    $bundles[] = new Netgen\Bundle\EnhancedBinaryFileBundle\NetgenEnhancedBinaryFileBundle();

    return $bundles;
}

Include the routing config in your routing.yml

_netgen_enhancedezbinaryfile:
    resource: '@NetgenEnhancedBinaryFileBundle/Resources/config/routing.yml'

Clear the caches

Clear the eZ Publish caches with the following command:

$ php app/console cache:clear

For more detailed configuration, please check documentation.