lm-commons / lmc-user-doctrine-odm
Doctrine2 Mongo storage adapter for LmcUser.
1.0.0
2020-06-23 09:36 UTC
Requires
- php: >=5.3.3
- doctrine/doctrine-mongo-odm-module: ~2.0
- laminas-commons/lmc-user: dev-master
This package is auto-updated.
Last update: 2024-10-12 14:36:35 UTC
README
Introduction
LmcUserDoctrineMongoODM is a MongoDb storage adapter for LmcUser. This module makes use of the Doctrine2 MongoDB ODM.
Installation
Composer
-
Install module
Go to the release tab and make a note of the most recent version. Run the following command from your application directory:php composer.phar require laminas-commons/lmc-user-doctrine-mongo-odm
When asked for er version constraint, put in the version noted from the release tab. -
Add
DoctrineModule
,DoctrineMongoODMModule
andLmcUserDoctrineMongoODM
toconfig/application.config.php
Options
The following options are available:
- enable_default_entities - Boolean value, determines if the default User entity should be enabled. Set it to false in order to extend LmcUser\Entity\User with your own entity. Default is true.