koala-framework / kwc-menu-api
Installs: 2 651
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 6
Forks: 0
Open Issues: 0
Requires
- koala-framework/koala-framework: 4.5 || ~5.0
This package is auto-updated.
Last update: 2024-11-12 07:56:46 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: /