Skip to content

This is MongoDB Nested set Strategy and Repository class for DoctrineExtensions

License

Notifications You must be signed in to change notification settings

alitvinenko/mongodb-nested-tree-extension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Doctrine MongoDB Nested Tree Extension

About

This package contains Doctrine MongoDB Nested set Strategy extension for DoctrineExtensions.

1. Installation

Add the alitvinenko/mongodb-nested-tree-extension package to your require section in the composer.json file.

$ composer require alitvinenko/mongodb-nested-tree-extension

2. Configuration

2.1. Configuration StofDoctrineExtensionsBundle

Configure StofDoctrineExtensionsBundle.

2.2. Set overriding Listener for Tree extension

# app/config/config.yml

...
stof_doctrine_extensions:
    mongodb:
        default:
            tree: true # enable tree extension
    class:
        tree: NestedTreeExtension\Listener\TreeListener # and set listener
...

About

This is MongoDB Nested set Strategy and Repository class for DoctrineExtensions

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages