Yii DataBase Library

dev-master / 3.0.x-dev 2022-12-07 20:56 UTC



Yii DataBase Library

This database library provides: database access abstraction and query builder. It is used in Yii Framework but is supposed to be usable separately.

Latest Stable Version Total Downloads Build status codecov static analysis type-coverage

Unit testing

The package is tested with PHPUnit. To run tests:


Mutation testing

The package tests are checked with Infection mutation framework. To run it:


Static analysis

The code is statically analyzed with Psalm. To run static analysis:



Use Rector to make codebase follow some specific rules or use either newest or any specific version of PHP:


Composer require checker

This package uses composer-require-checker to check if all dependencies are correctly defined in composer.json.

To run the checker, execute the following command:


Support the project

Open Collective

Follow updates

Official website Twitter Telegram Facebook Slack


The Yii DataBase Library is free software. It is released under the terms of the BSD License. Please see LICENSE for more information.

Maintained by Yii Software.