PHPackages                             piasiu/saq-database - 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. piasiu/saq-database

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

piasiu/saq-database
===================

Extension to the Saq framework for database support

137PHP

Since Mar 13Pushed 1y ago1 watchersCompare

[ Source](https://github.com/Piasiu/saq-database)[ Packagist](https://packagist.org/packages/piasiu/saq-database)[ RSS](/packages/piasiu-saq-database/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Saq-Database
============

[](#saq-database)

Extension to the [Saq](https://github.com/Piasiu/saq) framework for database support.

The extension offers an [adapter interface](src/AdapterInterface.php) allowing you to use your favorite database. For your convenience, the extension includes [PdoAdapter](src/Adapter/PDOAdapter.php) and two popular database adapters:

- [My SQL](src/Adapter/MySqlAdapter.php),
- [SQLite](src/Adapter/SQLiteAdapter.php).

The extension also offers a SQL query builder.

Installation
============

[](#installation)

It's recommended that you use [Composer](https://getcomposer.org/) to install Saq-Database.

```
$ composer require piasiu/saq-database
```

This will install Saq-Database and all required dependencies. Saq-Database requires PHP 8 or newer.

License
-------

[](#license)

The Saq-Database is licensed under the MIT license. See [License File](LICENSE.md) for more information.

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity15

Early-stage or recently created project

 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://www.gravatar.com/avatar/e0102603e34df7000af9424b05b364466a82009c8338bfb70e31a04ddffffe38?d=identicon)[Piasiu](/maintainers/Piasiu)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/piasiu-saq-database/health.svg)

```
[![Health](https://phpackages.com/badges/piasiu-saq-database/health.svg)](https://phpackages.com/packages/piasiu-saq-database)
```

###  Alternatives

[doctrine/orm

Object-Relational-Mapper for PHP

10.2k285.3M6.2k](/packages/doctrine-orm)[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k115.1M102](/packages/jdorn-sql-formatter)[illuminate/database

The Illuminate Database package.

2.8k52.4M9.4k](/packages/illuminate-database)[mongodb/mongodb

MongoDB driver library

1.6k64.0M546](/packages/mongodb-mongodb)[ramsey/uuid-doctrine

Use ramsey/uuid as a Doctrine field type.

90340.3M211](/packages/ramsey-uuid-doctrine)[reliese/laravel

Reliese Components for Laravel Framework code generation.

1.7k3.4M16](/packages/reliese-laravel)

PHPackages © 2026

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