koala-framework/kwc-native-menu

This package is abandoned and no longer maintained. The author suggests using the koala-framework/kwc-menu-api package instead.
There is no license information available for the latest version (1.0.x-dev) of this package.

1.0.x-dev 2018-04-05 10:25 UTC

This package is not auto-updated.

Last update: 2019-02-20 19:21:51 UTC


README

Repository for implementing controller to provide menu- and component-data over api-controller

Installation

Basic code changes

  • Add AppBundle to AppKernel.php

      public function registerBundles()
      {
          $bundles = array(
              ...
              new Kwc\MenuApiBundle\KwcMenuApiBundle()
          );
          ...
      }
    
  • Add routing config to routing.yml

      kwcmenuapi:
          resource: "@KwcMenuApiBundle/Resources/config/routing.yml"
          prefix:   /