nowaera / mmi-bundle
Installs: 1
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/nowaera/mmi-bundle
Requires
- mmi/mmi: dev-master@dev
- symfony/config: ^5.0
- symfony/dependency-injection: ^5.0
- symfony/http-kernel: ^5.0
- symfony/yaml: ^5.0
This package is auto-updated.
Last update: 2025-09-29 02:21:45 UTC
README
Bundle provides Symfony 5
integration into mmi-mmi package
- Router
- Routes as before are using
\Mmi\Mvc\RouterConfig
as main route definition class - In order to get routes loaded, the result object needs to be registered as
tagged service
with tagmmi.route
used, check MmiRouterCompilerPass
- Routes as before are using
- Navigation
- In order to attach navigation into root navigation, create
event listener / subscriber
and subscribe toNowaEra\MmiBundle\Event\MmiNavigationEvent
which containsrootNavigation
(->getRootNavigation(): NavigationConfig) and attach your custom navigation - Mange priority of navigation by setting up
tag's priority
- In order to attach navigation into root navigation, create
Tags:
mmi.route
-\Mmi\Mvc\RouterConfig
Events:
NowaEra\MmiBundle\Event\MmiNavigationEvent
- it's payload contains root navigation which may be extended by other navigation items