PHPackages                             lexxur/zfc-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. lexxur/zfc-user-doctrine-orm

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

lexxur/zfc-user-doctrine-orm
============================

Doctrine2 ORM storage adapter for ZfcUser.

1.0.1(10y ago)03BSD-3-ClausePHPPHP &gt;=5.3.3

Since Feb 7Pushed 6y agoCompare

[ Source](https://github.com/lexxur/ZfcUserDoctrineORM)[ Packagist](https://packagist.org/packages/lexxur/zfc-user-doctrine-orm)[ Docs](https://github.com/ZF-Commons/ZfcUserDoctrineORM)[ RSS](/packages/lexxur-zfc-user-doctrine-orm/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (2)Versions (11)Used By (0)

ZfcUserDoctrineORM
==================

[](#zfcuserdoctrineorm)

Version 0.1.1 Created by Kyle Spraggs and the ZF-Commons team

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

[](#introduction)

ZfcUserDoctrineORM is a Doctrine2 ORM storage adapter for [ZfcUser](https://github.com/ZF-Commons/ZfcUser).

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 ZfcUser\\Entity\\User with your own entity. Default is true.

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

[](#dependencies)

- [ZfcUser](https://github.com/ZF-Commons/ZfcUser)
- [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 Zfc Components:

```
php composer.phar require zf-commons/zfc-user-doctrine-orm

```

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

```
'modules' => array(
    'DoctrineModule',
    'DoctrineORMModule',
    'ZfcBase',
    'ZfcUser',
    'ZfcUserDoctrineORM',
    'Application',
),

```

Now, you can use [ZfcUser SQL schema](https://github.com/ZF-Commons/ZfcUser/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 zfcuser [config file](https://github.com/ZF-Commons/ZfcUser/blob/1.x/config/zfcuser.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

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor2

2 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 ~304 days

Recently: every ~501 days

Total

9

Last Release

2400d ago

Major Versions

0.1.3 → 1.0.02014-04-18

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

1.0.x-devPHP &gt;=7.0 &lt;7.2

1.1.x-devPHP ^7.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/110f4aed4cad71c1533079a6d76c315fa202067a05fc9f89b7b90b14c96f49c2?d=identicon)[lexxur](/maintainers/lexxur)

---

Top Contributors

[![Danielss89](https://avatars.githubusercontent.com/u/632956?v=4)](https://github.com/Danielss89 "Danielss89 (19 commits)")[![EvanDotPro](https://avatars.githubusercontent.com/u/5607?v=4)](https://github.com/EvanDotPro "EvanDotPro (15 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)")[![oprokidnev](https://avatars.githubusercontent.com/u/1657922?v=4)](https://github.com/oprokidnev "oprokidnev (4 commits)")[![rhutchison](https://avatars.githubusercontent.com/u/1460261?v=4)](https://github.com/rhutchison "rhutchison (3 commits)")[![Ocramius](https://avatars.githubusercontent.com/u/154256?v=4)](https://github.com/Ocramius "Ocramius (3 commits)")[![RWOverdijk](https://avatars.githubusercontent.com/u/781745?v=4)](https://github.com/RWOverdijk "RWOverdijk (2 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)")[![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)")[![lexxur](https://avatars.githubusercontent.com/u/4437156?v=4)](https://github.com/lexxur "lexxur (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

zf2

### Embed Badge

![Health badge](/badges/lexxur-zfc-user-doctrine-orm/health.svg)

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

###  Alternatives

[zf-commons/zfc-user-doctrine-orm

Doctrine2 ORM storage adapter for ZfcUser.

85676.8k18](/packages/zf-commons-zfc-user-doctrine-orm)[hounddog/doctrine-data-fixture-module

Zend Framework 2 Module that provides Doctrine Data-Fixture functionality

37335.4k9](/packages/hounddog-doctrine-data-fixture-module)[tawfekov/zf2entityaudit

EntityAudit Module for Zend Framework2 , Doctrine2 and web interface

1910.4k](/packages/tawfekov-zf2entityaudit)[coolcsn/csn-user

Authentication based on DoctrineORMModule

336.9k](/packages/coolcsn-csn-user)[zf-commons/zfc-user-doctrine-mongo-odm

Doctrine2 Mongo storage adapter for ZfcUser.

214.6k](/packages/zf-commons-zfc-user-doctrine-mongo-odm)[coolcsn/csn-authorization

Authorization based on DoctrineORMModule and ACL

143.5k](/packages/coolcsn-csn-authorization)

PHPackages © 2026

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