lpfactory/nested-set-routing-bundle

Cmf routing provider for Doctrine Nested Set Behavior

0.3.1 2015-06-07 09:16 UTC

This package is auto-updated.

Last update: 2024-04-12 18:41:59 UTC


README

Scrutinizer Code Quality Code Coverage Build Status SensioLabsInsight

Cmf routing provider for Doctrine Nested Set Behavior.

Introduction

This bundle provides a CMF router to be used with gedmo nested set behavior. You can easily build nested page with dynamic routing.

Given the following tree :

Homepage (slug : "homepage")
|_ Page 1 (slug : "page-1")
    |_ Child 1 (slug : "child-1")
        |_ Child 1 of 1 (slug : "child-1-of-1")
    |_ Child 2 (slug : "child-2")

The following routes are valid :

/
/page-1
/page-1/child-1
/page-1/child-1/child-1-of-1
/page-1/child-2

Documentation

Coming soon

  • Multiple tree strategies : load page from different tree according to host