PHPackages                             polidog/query-locator-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. polidog/query-locator-bundle

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

polidog/query-locator-bundle
============================

1.0.2(7y ago)011MITPHP &gt;=5.6

Since Jul 12Compare

[ Source](https://github.com/polidog/QueryLocatorBundle)[ Packagist](https://packagist.org/packages/polidog/query-locator-bundle)[ RSS](/packages/polidog-query-locator-bundle/feed)WikiDiscussions Synced 2w ago

READMEChangelog (3)Dependencies (6)Versions (5)Used By (0)

PolidogQueryLocatorBundle
=========================

[](#polidogquerylocatorbundle)

[![Build Status](https://camo.githubusercontent.com/77fe78df8e11bbc9c6b4d905fb4c1a52ba4937c81a079fb9941aa340bd205daf/68747470733a2f2f7472617669732d63692e6f72672f706f6c69646f672f51756572794c6f6361746f7242756e646c652e7376673f6272616e63683d312e78)](https://travis-ci.org/polidog/QueryLocatorBundle)QueryLocatoer for Symfony Bundle.
using [Koriym.QueryLocator](https://github.com/koriym/Koriym.QueryLocator).

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

[](#installation)

### Composer install

[](#composer-install)

```
$ composer require polidog/query-locator-bundle

```

### Usage

[](#usage)

app/config.yml

```
polidog_query_locator:
    locators:
        user_queries:
            sql_dir: "../../sqldir"
            use_apc: false # Default to false.
```

Get Container

```
$query = $container->get('polidog_query_locator.locators.user_queries') // QueryLocator
$sql = $query['admin/user'];
$sql = $query->getCountQuery('admin/user');
```

SQL files

```
└── sql
    └── admin
        └── user.sql

```

Requirements
------------

[](#requirements)

- PHP 5.6+

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity61

Established project with proven stability

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 ~140 days

Total

4

Last Release

2898d ago

PHP version history (2 changes)1.0.0PHP &gt;=5.5

1.0.1PHP &gt;=5.6

### Community

Maintainers

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

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/polidog-query-locator-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/polidog-query-locator-bundle/health.svg)](https://phpackages.com/packages/polidog-query-locator-bundle)
```

PHPackages © 2026

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