PHPackages                             lm-commons/lmc-user-doctrine-orm - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. lm-commons/lmc-user-doctrine-orm

ActiveLibrary[Database &amp; ORM](/categories/database)

lm-commons/lmc-user-doctrine-orm
================================

Doctrine2 ORM storage adapter for LmcUser.

3.0.6(1y ago)350.3k↓49.2%3[1 issues](https://github.com/LM-Commons/LmcUserDoctrineORM/issues)[2 PRs](https://github.com/LM-Commons/LmcUserDoctrineORM/pulls)BSD-3-ClausePHPPHP &gt;=7.3CI failing

Since Feb 7Pushed 1y ago4 watchersCompare

[ Source](https://github.com/LM-Commons/LmcUserDoctrineORM)[ Packagist](https://packagist.org/packages/lm-commons/lmc-user-doctrine-orm)[ Docs](https://github.com/LM-Commons/LmcUserDoctrineORM)[ RSS](/packages/lm-commons-lmc-user-doctrine-orm/feed)WikiDiscussions 3.1.x Synced today

READMEChangelog (7)Dependencies (6)Versions (22)Used By (0)

LmcUserDoctrineORM
==================

[](#lmcuserdoctrineorm)

[![Build Status](https://camo.githubusercontent.com/d4a4ddb7d17439d607a36e3619e9a276a1bb84b6f231e809cf48d126cf72560e/68747470733a2f2f7472617669732d63692e636f6d2f4c4d2d436f6d6d6f6e732f4c6d6355736572446f637472696e654f524d2e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/LM-Commons/LmcUserDoctrineORM)[![Coverage Status](https://camo.githubusercontent.com/3c7e268711438de6c2cbdd14621442551c865e01a9e947c93e32b986ebaa6650/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f4c4d2d436f6d6d6f6e732f4c6d6355736572446f637472696e654f524d2f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/LM-Commons/LmcUserDoctrineORM?branch=master)

Based on ZfcUserDoctrineORM by Kyle Spraggs and the ZF-Commons team

Introduction
------------

[](#introduction)

LmcUserDoctrineORM is a Doctrine2 ORM storage adapter for [LmcUser](https://github.com/LM-Commons/LmcUser).

Options
-------

[](#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.

Dependencies
------------

[](#dependencies)

- [LmcUser](https://github.com/LM-Commons/LmcUser)
- [DoctrineModule](https://github.com/doctrine/DoctrineModule)
- [DoctrineORMModule](https://github.com/doctrine/DoctrineORMModule)

Installation
------------

[](#installation)

Set up Database Connection Settings for Doctrine ORM:

Namely, go to [Doctrine Connection Settings](https://github.com/doctrine/DoctrineORMModule#connection-settings), and copy/paste/modify the example configuration file content into your `config/autoload/doctrine.orm.local.php`.

Install Lmc Components:

```
php composer.phar require lm-commons/lmc-user-doctrine-orm

```

Set up your Modules in `config/application/application.config.php`, something like

```
'modules' => array(
    'DoctrineModule',
    'DoctrineORMModule',
    'LmcUser',
    'LmcUserDoctrineORM',
    'Application',
),

```

Now, you can use [LmcUser SQL schema](https://github.com/LM-Commons/LmcUser/tree/master/data) to set up your database tables.

Alternatively, you can use `doctrine-module` to do this work for you:

```
vendor/bin/doctrine-module orm:schema-tool:update --dump-sql

```

Note: If you want to use a different table schema or user entity then you have to set `enable_default_entities` to `false` in the lmcuser [config file](https://github.com/LM-Commons/LmcUser/blob/master/config/lmcuser.global.php.dist)

If SQL looks okay, do:

```
vendor/bin/doctrine-module orm:schema-tool:update --force

```

You can now navigate to `/user` and it should work.

###  Health Score

42

—

FairBetter than 88% of packages

Maintenance31

Infrequent updates — may be unmaintained

Popularity34

Limited adoption so far

Community23

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor3

3 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~237 days

Recently: every ~264 days

Total

19

Last Release

618d ago

Major Versions

0.1.3 → 1.0.02014-04-18

1.0.2 → 2.0.02017-05-24

2.0.1 → 3.0.02020-11-22

PHP version history (2 changes)0.1.0PHP &gt;=5.3.3

3.0.0PHP &gt;=7.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/39ff13f678d45f5296af1e1a2a5807db794bfd9835b64302c9bcc43156854a03?d=identicon)[visto9259](/maintainers/visto9259)

![](https://www.gravatar.com/avatar/77d82796cc29d922351001e9653d2950d663e171a552d7d7ba3966f8c7db2095?d=identicon)[alexz707](/maintainers/alexz707)

---

Top Contributors

[![Danielss89](https://avatars.githubusercontent.com/u/632956?v=4)](https://github.com/Danielss89 "Danielss89 (20 commits)")[![EvanDotPro](https://avatars.githubusercontent.com/u/5607?v=4)](https://github.com/EvanDotPro "EvanDotPro (15 commits)")[![visto9259](https://avatars.githubusercontent.com/u/7890483?v=4)](https://github.com/visto9259 "visto9259 (5 commits)")[![dennis-fedco](https://avatars.githubusercontent.com/u/5579367?v=4)](https://github.com/dennis-fedco "dennis-fedco (4 commits)")[![akrabat](https://avatars.githubusercontent.com/u/33135?v=4)](https://github.com/akrabat "akrabat (4 commits)")[![Ocramius](https://avatars.githubusercontent.com/u/154256?v=4)](https://github.com/Ocramius "Ocramius (3 commits)")[![rhutchison](https://avatars.githubusercontent.com/u/1460261?v=4)](https://github.com/rhutchison "rhutchison (3 commits)")[![dermellor](https://avatars.githubusercontent.com/u/2178424?v=4)](https://github.com/dermellor "dermellor (2 commits)")[![bgallagher](https://avatars.githubusercontent.com/u/1045248?v=4)](https://github.com/bgallagher "bgallagher (2 commits)")[![RWOverdijk](https://avatars.githubusercontent.com/u/781745?v=4)](https://github.com/RWOverdijk "RWOverdijk (2 commits)")[![renovate[bot]](https://avatars.githubusercontent.com/in/2740?v=4)](https://github.com/renovate[bot] "renovate[bot] (2 commits)")[![alexz707](https://avatars.githubusercontent.com/u/562324?v=4)](https://github.com/alexz707 "alexz707 (2 commits)")[![websafe](https://avatars.githubusercontent.com/u/412013?v=4)](https://github.com/websafe "websafe (1 commits)")[![bakura10](https://avatars.githubusercontent.com/u/1198915?v=4)](https://github.com/bakura10 "bakura10 (1 commits)")[![DASPRiD](https://avatars.githubusercontent.com/u/233300?v=4)](https://github.com/DASPRiD "DASPRiD (1 commits)")[![jchampion](https://avatars.githubusercontent.com/u/1262628?v=4)](https://github.com/jchampion "jchampion (1 commits)")[![kabirbaidhya](https://avatars.githubusercontent.com/u/3315763?v=4)](https://github.com/kabirbaidhya "kabirbaidhya (1 commits)")[![marcosh](https://avatars.githubusercontent.com/u/2643972?v=4)](https://github.com/marcosh "marcosh (1 commits)")[![neeckeloo](https://avatars.githubusercontent.com/u/1768645?v=4)](https://github.com/neeckeloo "neeckeloo (1 commits)")[![TomHAnderson](https://avatars.githubusercontent.com/u/493920?v=4)](https://github.com/TomHAnderson "TomHAnderson (1 commits)")

---

Tags

laminasLmcUser

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/lm-commons-lmc-user-doctrine-orm/health.svg)

```
[![Health](https://phpackages.com/badges/lm-commons-lmc-user-doctrine-orm/health.svg)](https://phpackages.com/packages/lm-commons-lmc-user-doctrine-orm)
```

###  Alternatives

[doctrine/doctrine-orm-module

Laminas Module that provides Doctrine ORM functionality

4567.6M298](/packages/doctrine-doctrine-orm-module)[doctrine/doctrine-module

Laminas Module that provides Doctrine basic functionality required for ORM and ODM modules

4048.2M122](/packages/doctrine-doctrine-module)[laminas/laminas-db

Database abstraction layer, SQL abstraction, result set abstraction, and RowDataGateway and TableDataGateway implementations

14023.5M235](/packages/laminas-laminas-db)[doctrine/doctrine-mongo-odm-module

Laminas Module which provides Doctrine MongoDB ODM functionality

87689.5k35](/packages/doctrine-doctrine-mongo-odm-module)[doctrine/doctrine-laminas-hydrator

Doctrine hydrators for Laminas applications

383.1M23](/packages/doctrine-doctrine-laminas-hydrator)[laminas-api-tools/api-tools-doctrine

Laminas API Tools Doctrine module

10678.8k5](/packages/laminas-api-tools-api-tools-doctrine)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
