PHPackages                             tereta/dbal - 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. tereta/dbal

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

tereta/dbal
===========

SQL query builder with fluent interface, supporting multiple database drivers and prepared statements. Designed for ease of use and flexibility in building complex SQL queries.

v1.0.2(4mo ago)00Apache-2.0PHP &gt;=8.2

Since Jan 18Compare

[ Source](https://gitlab.com/tereta/library/dbal)[ Packagist](https://packagist.org/packages/tereta/dbal)[ Docs](https://tereta.dev/library/dbal)[ RSS](/packages/tereta-dbal/feed)WikiDiscussions Synced today

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

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://gitlab.com/tereta/library/dbal).

###  Health Score

33

LowBetter than 73% of packages

Maintenance74

Regular maintenance activity

Popularity0

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

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

Unknown

Total

1

Last Release

143d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6034426?v=4)[tereta](/maintainers/tereta)[@Tereta](https://github.com/Tereta)

---

Tags

phpdatabasemysqlsqlitepdopgsqlquerydsnquery builder

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/tereta-dbal/health.svg)

```
[![Health](https://phpackages.com/badges/tereta-dbal/health.svg)](https://phpackages.com/packages/tereta-dbal)
```

###  Alternatives

[aura/sqlquery

Object-oriented query builders for MySQL, Postgres, SQLite, and SQLServer; can be used with any database connection library.

4563.1M37](/packages/aura-sqlquery)[atlas/query

Object-oriented query builders and performers for MySQL, Postgres, SQLite, and SQLServer.

41253.7k7](/packages/atlas-query)[opis/database

A database abstraction layer over PDO, that provides a powerful and intuitive query builder, bundled with an easy to use schema builder

10085.0k3](/packages/opis-database)[delight-im/db

Safe and convenient SQL database access in a driver-agnostic way

47165.7k7](/packages/delight-im-db)[popphp/pop-db

Pop Db Component for Pop PHP Framework

1815.7k12](/packages/popphp-pop-db)

PHPackages © 2026

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