library mongodb-nested-tree-extension
MongoDB Nested set Strategy and Repository class for DoctrineExtensions
alitvinenko/mongodb-nested-tree-extension
MongoDB Nested set Strategy and Repository class for DoctrineExtensions
- Thursday, July 13, 2017
- by alitvinenko
- Repository
- 1 Watchers
- 0 Stars
- 149 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 3 Versions
- 34 % Grown
Doctrine MongoDB Nested Tree Extension
About
This package contains Doctrine MongoDB Nested set Strategy extension for DoctrineExtensions., (*1)
1. Installation
Add the alitvinenko/mongodb-nested-tree-extension
package to your require
section in the composer.json
file., (*2)
``` bash
$ composer require alitvinenko/mongodb-nested-tree-extension, (*3)
## 2. Configuration
### 2.1. Configuration StofDoctrineExtensionsBundle
Configure [StofDoctrineExtensionsBundle](http://symfony.com/doc/current/bundles/StofDoctrineExtensionsBundle/index.html).
### 2.2. Set overriding Listener for Tree extension
``` yaml
# app/config/config.yml
...
stof_doctrine_extensions:
mongodb:
default:
tree: true # enable tree extension
class:
tree: NestedTreeExtension\Listener\TreeListener # and set listener
...
dev-master
9999999-dev
MongoDB Nested set Strategy and Repository class for DoctrineExtensions
Sources
Download
MIT
The Requires
by
Litvinenko Andrey
mongodb
doctrine2
tree
nestedset
v0.1.1
0.1.1.0
MongoDB Nested set Strategy and Repository class for DoctrineExtensions
Sources
Download
MIT
The Requires
by
Litvinenko Andrey
mongodb
doctrine2
tree
nestedset
v0.1.0
0.1.0.0
MongoDB Nested set Strategy and Repository class for DoctrineExtensions
Sources
Download
MIT
The Requires
by
Litvinenko Andrey
mongodb
doctrine2
tree
nestedset