PHPackages                             smeservicesvn/dbal-query-builder-wrapper - 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. smeservicesvn/dbal-query-builder-wrapper

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

smeservicesvn/dbal-query-builder-wrapper
========================================

A PHP query builder tool for building SQL queries, compatible with Doctrine DBAL and Symfony.

v1.0.2(11mo ago)00MITPHPPHP ^8.3CI passing

Since Jul 25Pushed 11mo agoCompare

[ Source](https://github.com/smeservicesvn/dbal-query-builder-wrapper)[ Packagist](https://packagist.org/packages/smeservicesvn/dbal-query-builder-wrapper)[ Docs](https://github.com/smeservicesvn/dbal-query-builder-wrapper)[ RSS](/packages/smeservicesvn-dbal-query-builder-wrapper/feed)WikiDiscussions main Synced today

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

dbal-query-builder-wrapper
==========================

[](#dbal-query-builder-wrapper)

A modern PHP query builder tool for building SQL queries, compatible with Doctrine DBAL and Symfony.

Features
--------

[](#features)

- Build complex SQL queries programmatically
- Integrates with Doctrine DBAL
- PSR-4 autoloading
- Fully tested with PHPUnit
- Ready for use in any PHP or Symfony project

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

[](#installation)

Install via Composer:

```
composer require smeservicesvn/dbal-query-builder-wrapper
```

Usage Example
-------------

[](#usage-example)

```
use QueryBuilderBundle\QueryBuilderTool;
use QueryBuilderBundle\Condition;

$queryBuilder = new QueryBuilderTool();
$queryBuilder->addToSelect('u.username, u.id');
$queryBuilder->setFrom('users', 'u');
$queryBuilder->addJoins(QueryBuilderTool::LEFT_JOIN, 'groups', 'gr', 'u.group_id = gr.id');
$queryBuilder->addGroupBy('id', 'gr');
$queryBuilder->addIntCondition('recycled', 'u', 0, Condition::EQUAL);
$queryBuilder->addCondition(new Condition(Condition::IS_NOT_NULL, 'id', 'gr'));

$sql = $queryBuilder->getSqlQueryWithParams();
echo $sql;
// Output: SELECT u.username, u.id  FROM users u  LEFT JOIN groups gr ON u.group_id = gr.id  WHERE  u.recycled = 0  AND  gr.id IS NOT NULL  GROUP BY gr.id
```

Development
-----------

[](#development)

### Run Tests

[](#run-tests)

```
make test
```

### Lint PHP

[](#lint-php)

```
make lint
```

### Install/Update Dependencies

[](#installupdate-dependencies)

```
make install
make update
```

### Clean Vendor and Cache

[](#clean-vendor-and-cache)

```
make clean
```

### Tag a Release

[](#tag-a-release)

```
make tag VERSION=1.0.0
```

Continuous Integration
----------------------

[](#continuous-integration)

This project uses GitHub Actions for CI. All pushes and pull requests are automatically tested on PHP 8.3.

Contributing
------------

[](#contributing)

Pull requests and issues are welcome! Please ensure all tests pass before submitting a PR.

License
-------

[](#license)

MIT

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance51

Moderate activity, may be stable

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity54

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.

###  Release Activity

Cadence

Every ~0 days

Total

3

Last Release

344d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/211108330?v=4)[SMEUp](/maintainers/smeservicesvn)[@smeservicesvn](https://github.com/smeservicesvn)

---

Top Contributors

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

---

Tags

symfonymysqldoctrinequeryquery builder

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/smeservicesvn-dbal-query-builder-wrapper/health.svg)

```
[![Health](https://phpackages.com/badges/smeservicesvn-dbal-query-builder-wrapper/health.svg)](https://phpackages.com/packages/smeservicesvn-dbal-query-builder-wrapper)
```

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.9M387](/packages/easycorp-easyadmin-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.

1189.8k](/packages/rcsofttech-audit-trail-bundle)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1616.4k14](/packages/2lenet-crudit-bundle)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.4M203](/packages/sulu-sulu)[ahmed-bhs/doctrine-doctor

Runtime analysis tool for Doctrine ORM integrated into Symfony Web Profiler. Unlike static linters, it analyzes actual query execution at runtime to detect performance bottlenecks, security vulnerabilities, and best practice violations during development with real execution context and data.

9410.8k](/packages/ahmed-bhs-doctrine-doctor)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

9421.6k61](/packages/open-dxp-opendxp)

PHPackages © 2026

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