Skip to content

yiisoft/db-mysql

Yii MySQL

Yii Database MySQL and MariaDB driver


Latest Stable Version Total Downloads rector codecov StyleCI type-coverage

MySQL driver for Yii Database allows developers to access and interact with MySQL and MariaDB databases. It provides a set of classes and methods for connecting to a MySQL and MariaDB database, executing SQL queries, and managing data within the database. The package is designed to be easy to use and integrate, and supports a wide range of MySQL, MariaDB features and functions. It also includes support for transactions, database schema management, and error handling.

It is used in Yii Framework but can be used separately.

Support version

PHP MySQL/MariaDB Version CI-Actions
8.1-8.3 5.7-8.0/10.4-10.10 build ansi-mode Mutation testing badge static analysis

Installation

The package could be installed with Composer:

composer require yiisoft/db-mysql

Documentation

Check the documentation to learn about usage

If you need help or have a question, the Yii Forum is a good place for that. You may also check out other Yii Community Resources.

License

The Yii Database MySQL and MariaDB driver is free software. It is released under the terms of the BSD License. Please see LICENSE for more information.

Maintained by Yii Software.

Support the project

Open Collective

Follow updates

Official website Twitter Telegram Facebook Slack