alitvinenko / mongodb-nested-tree-extension
MongoDB Nested set Strategy and Repository class for DoctrineExtensions
Installs: 6 767
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 1
Open Issues: 0
Requires
- php: >=5.3.2
- doctrine/mongodb-odm: ^1.1
- gedmo/doctrine-extensions: ^2.3.1
This package is not auto-updated.
Last update: 2025-03-30 07:05:40 UTC
README
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 ...