yiisoft/db-mysql
yiisoft/db-mysql has 42 GitHub stars and 19 forks. Star changes are not measured yet. Last checked 2026-11-14 12:54 UTC. Last push 2026-10-21.
实测星标增长
- 24小时
- 正在收集历史
- 7天
- 正在收集历史
- 15天
- 正在收集历史
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
关于
MySQL and MariaDB driver for Yii Database
数据README.md
原文Yii Database MySQL/MariaDB Driver
MySQL and MariaDB driver for Yii Database is a package for working with MySQL and MariaDB databases in PHP. It includes a database connection class, a command builder class, and a set of classes for representing database tables and rows as PHP objects.
Driver supports MySQL 5.7 or higher, and MariaDB 10.4 or higher.
Requirements
- PHP 8.1 - 8.5;
pdo_mysqlPHP extension.
Installation
The package could be installed with Composer:
composer require yiisoft/db-mysql
[!IMPORTANT] See also installation notes for
yiisoft/dbpackage.
Documentation
For config connection to MySQL and MariaDB database check Connection config for MySQL and MariaDB.
Check the yiisoft/db docs 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/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.