PHPackages                             dcs/user-persistence-orm-bundle - 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. dcs/user-persistence-orm-bundle

ActiveSymfony-bundle[Database &amp; ORM](/categories/database)

dcs/user-persistence-orm-bundle
===============================

The DCSUserPersistenceORMBundle adds functionality to DCSUserCoreBundle and provides the implementation of the persistence on database using Doctrine ORM

010[1 issues](https://github.com/damianociarla/DCSUserPersistenceORMBundle/issues)PHP

Since Jan 1Pushed 9y ago1 watchersCompare

[ Source](https://github.com/damianociarla/DCSUserPersistenceORMBundle)[ Packagist](https://packagist.org/packages/dcs/user-persistence-orm-bundle)[ RSS](/packages/dcs-user-persistence-orm-bundle/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (1)Used By (0)

[![Build Status](https://camo.githubusercontent.com/34a3d592cfdc0e2ab541a64fad34fb1faab484485a2b977085b4fbc81a9bf70c/68747470733a2f2f7472617669732d63692e6f72672f64616d69616e6f636961726c612f4443535573657250657273697374656e63654f524d42756e646c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/damianociarla/DCSUserPersistenceORMBundle)[![Coverage Status](https://camo.githubusercontent.com/fdc6737dcc2a4dd1e4ac2190227e25866826c53b8c03e46ab58e6cfd3b3a0a4e/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f64616d69616e6f636961726c612f4443535573657250657273697374656e63654f524d42756e646c652f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/damianociarla/DCSUserPersistenceORMBundle?branch=master)

DCSUserPersistenceORMBundle
===========================

[](#dcsuserpersistenceormbundle)

The **DCSUserPersistenceORMBundle** provides the final implementation of the persistence through *DoctrineORM*.

To do that this bundle will listen to two particular events emitted by *Save* and *Delete* methods of the [DCSUserCoreBundle](https://github.com/damianociarla/DCSUserCoreBundle). The idea at the basis of related packages to *DCS* is to add functionality listening to emitted events.

This bundle provides the implementation of the repository service and performs a mapping of the [User](https://github.com/damianociarla/DCSUserCoreBundle/blob/master/src/Model/User.php) class.

### The repository

[](#the-repository)

The `dcs_user.persistence.orm.repository` service is the implementation of the interface `DCS\User\CoreBundle\Repository\UserRepositoryInterface`. This service can be sets at the **repository\_service** parameter in the **dcs\_user\_core** settings.

```
dcs_user_core:
    repository_service: dcs_user.persistence.orm.repository

```

### Events

[](#events)

The complete list of events is within the class `DCS\User\Persistence\ORMBundle\DCSUserPersistenceORMEvents`.

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

[](#installation)

### Prerequisites

[](#prerequisites)

This bundle requires [DCSUserCoreBundle](https://github.com/damianociarla/DCSUserCoreBundle).

### Require the bundle

[](#require-the-bundle)

Run the following command:

```
$ composer require dcs/user-persistence-orm-bundle "~1.0@dev"

```

Composer will install the bundle to your project's `vendor/dcs/user-persistence-orm-bundle` directory.

### Enable the bundle

[](#enable-the-bundle)

Enable the bundle in the kernel:

```

```

### Configure

[](#configure)

Now that you have properly enabled this bundle, the next step is to configure it.

Add the following configuration to your `config.yml`.

```
dcs_user_core:
    model_class: AcmeBundle\Entity\User
    repository_service: dcs_user.persistence.orm.repository

```

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/b1b89330075f70671ac85413fc96a516f79a3f63887536991890d5e6bb694e24?d=identicon)[damianociarla](/maintainers/damianociarla)

---

Top Contributors

[![damianociarla](https://avatars.githubusercontent.com/u/2201712?v=4)](https://github.com/damianociarla "damianociarla (24 commits)")

### Embed Badge

![Health badge](/badges/dcs-user-persistence-orm-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/dcs-user-persistence-orm-bundle/health.svg)](https://phpackages.com/packages/dcs-user-persistence-orm-bundle)
```

###  Alternatives

[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k117.2M117](/packages/jdorn-sql-formatter)[propel/propel1

Propel is an open-source Object-Relational Mapping (ORM) for PHP5.

8351.6M87](/packages/propel-propel1)[jfelder/oracledb

Oracle DB driver for Laravel

11518.4k](/packages/jfelder-oracledb)

PHPackages © 2026

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