Yii DataBase Library

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

README

68747470733a2f2f796969736f66742e6769746875622e696f2f646f63732f696d616765732f7969695f6c6f676f2e737667

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:

./vendor/bin/phpunit

Mutation testing

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

./vendor/bin/infection

Static analysis

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

./vendor/bin/psalm

Rector

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

./vendor/bin/rector

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:

./vendor/bin/composer-require-checker

Support the project

Open Collective

Follow updates

Official website Twitter Telegram Facebook Slack

License

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.