PHPackages                             lag/doctrine-repository - 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. [Framework](/categories/framework)
4. /
5. lag/doctrine-repository

ActiveSymfony-bundle[Framework](/categories/framework)

lag/doctrine-repository
=======================

Generic admin bundle for Symfony2 from L'Arrière Guichet

1681PHP

Since Dec 23Pushed 10y ago2 watchersCompare

[ Source](https://github.com/larriereguichet/DoctrineRepositoryBundle)[ Packagist](https://packagist.org/packages/lag/doctrine-repository)[ RSS](/packages/lag-doctrine-repository/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (2)Used By (0)

[![Build Status](https://camo.githubusercontent.com/d5cbd281a5a61a7835da0c1b0e0539e11c221d2eece6671e9aa467a6370e6965/68747470733a2f2f7472617669732d63692e6f72672f6c61727269657265677569636865742f446f637472696e655265706f7369746f727942756e646c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/larriereguichet/DoctrineRepositoryBundle.svg?branch=master)

DoctrineRepositoryBundle
========================

[](#doctrinerepositorybundle)

Implementation of Repository pattern for Doctrine ORM

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

[](#introduction)

This bundle allows developpers to retrieve a Doctrine repository without passing by the EntityManager. Thoses repositories are exposed as service and constructed without using the Doctrine repository factory.

Example
-------

[](#example)

- Define your repository class in your Doctrine entity as usual

```
/**
 * Article
 *
 * @ORM\Table(name="article")
 * @ORM\Entity(repositoryClass="MyVendor\MyBundle\Repository\ArticleRepository")
 * @ORM\HasLifecycleCallbacks()
 */
class Article {
...
```

- Define the service with the tag "doctrine\_repository"

```
    my_repository:
        class: MyVendor\MyBundle\Repository\ArticleRepository
        tags:
            - {name: doctrine.repository}
```

- Retrieve your repository from service container :

```
...
$this->get('my_repository');
...
```

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity43

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://avatars.githubusercontent.com/u/1202965?v=4)[Arnaud Frézet](/maintainers/JohnKrovitch)[@johnkrovitch](https://github.com/johnkrovitch)

---

Top Contributors

[![johnkrovitch](https://avatars.githubusercontent.com/u/1202965?v=4)](https://github.com/johnkrovitch "johnkrovitch (17 commits)")

### Embed Badge

![Health badge](/badges/lag-doctrine-repository/health.svg)

```
[![Health](https://phpackages.com/badges/lag-doctrine-repository/health.svg)](https://phpackages.com/packages/lag-doctrine-repository)
```

###  Alternatives

[laravel/socialite

Laravel wrapper around OAuth 1 &amp; OAuth 2 libraries.

5.7k104.3M833](/packages/laravel-socialite)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k38.6M289](/packages/laravel-dusk)[nineinchnick/edatatables

Grid widget for the Yii Framework, wrapper for the DataTables jQuery plugin

173.2k](/packages/nineinchnick-edatatables)[link-cloud/fast-hyperf

LinkCloud Fast Hyperf

241.2k1](/packages/link-cloud-fast-hyperf)

PHPackages © 2026

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