PHPackages                             samuel4x4/acldoctrinequery-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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. samuel4x4/acldoctrinequery-bundle

ActiveSymfony-bundle[Authentication &amp; Authorization](/categories/authentication)

samuel4x4/acldoctrinequery-bundle
=================================

Symfony2 Helper Bundle for ACLs

1.0.3(12y ago)014MITPHPPHP &gt;=5.3.3

Since Mar 20Pushed 10y ago1 watchersCompare

[ Source](https://github.com/samuel4x4/AclDoctrineQueryBundle)[ Packagist](https://packagist.org/packages/samuel4x4/acldoctrinequery-bundle)[ Docs](https://github.com/kos4live/AclDoctrineQueryBundle)[ RSS](/packages/samuel4x4-acldoctrinequery-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (5)Used By (0)

AclDoctrineQueryBundle
======================

[](#acldoctrinequerybundle)

Helper Bundle for Symfony2 ACL

Usage:
------

[](#usage)

```
$aclQueryHelper = $this->get('kos4live.acl_doctrine_query.helper');
$em = $this->getDoctrine()->getManager();
$qb = $em->createQueryBuilder();

$qb = $qb->select('p')
    ->from('Entity\Product', 'p');
$qb->setMaxResults(10);

$permissions = array('view');
$user = $this->getUser();

// The returned query object is a clone, you can alway use $qb->getQuery() to get the original query object
$query = $aqlQueryHelper->apply($qb, $permissions, $user);

$result = $query->getArrayResult();

```

The $user parameter of apply() is optional and if is not set or null, the securityContext would use to determine the current user.

Don't forget add to AppKernel.php new kos4live\\AclDoctrineQueryBundle\\kos4liveAclDoctrineQueryBundle(),

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 54.5% 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.

###  Release Activity

Cadence

Every ~42 days

Total

4

Last Release

4680d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9eb39ec7050814cc24a6657a65e805b676abe8cfed7330f10f7c921093173215?d=identicon)[samuel4x4](/maintainers/samuel4x4)

---

Top Contributors

[![kos4live](https://avatars.githubusercontent.com/u/1617083?v=4)](https://github.com/kos4live "kos4live (12 commits)")[![samuel4x4](https://avatars.githubusercontent.com/u/3427855?v=4)](https://github.com/samuel4x4 "samuel4x4 (8 commits)")[![smurfy](https://avatars.githubusercontent.com/u/805790?v=4)](https://github.com/smurfy "smurfy (2 commits)")

### Embed Badge

![Health badge](/badges/samuel4x4-acldoctrinequery-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/samuel4x4-acldoctrinequery-bundle/health.svg)](https://phpackages.com/packages/samuel4x4-acldoctrinequery-bundle)
```

###  Alternatives

[klapaudius/oauth-server-bundle

Symfony(5.x to 8.x) OAuth Server Bundle

15547.3k2](/packages/klapaudius-oauth-server-bundle)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1022.4k](/packages/rcsofttech-audit-trail-bundle)

PHPackages © 2026

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