https://github.com/yiisoft/db-mysql
MySQL and MariaDB driver for Yii Database
https://github.com/yiisoft/db-mysql
database db dbal mariadb mysql query-builder sql yii3
Last synced: 2 months ago
JSON representation
MySQL and MariaDB driver for Yii Database
- Host: GitHub
- URL: https://github.com/yiisoft/db-mysql
- Owner: yiisoft
- License: bsd-3-clause
- Created: 2018-08-18T12:57:01.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2024-10-18T07:49:37.000Z (8 months ago)
- Last Synced: 2024-10-29T14:35:38.995Z (7 months ago)
- Topics: database, db, dbal, mariadb, mysql, query-builder, sql, yii3
- Language: PHP
- Homepage: https://www.yiiframework.com
- Size: 659 KB
- Stars: 37
- Watchers: 19
- Forks: 16
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
- Code of conduct: .github/CODE_OF_CONDUCT.md
- Security: .github/SECURITY.md
Awesome Lists containing this project
README
Yii Database MySQL and MariaDB driver
[](https://packagist.org/packages/yiisoft/db-mysql)
[](https://packagist.org/packages/yiisoft/db-mysql)
[](https://github.com/yiisoft/db-mysql/actions/workflows/rector.yml)
[](https://codecov.io/gh/yiisoft/db-mysql)
[](https://github.styleci.io/repos/145220107?branch=master)
[](https://shepherd.dev/github/yiisoft/db-mysql)MySQL driver for [Yii Database](https://github.com/yiisoft/db) 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](https://www.yiiframework.com/) but can be used separately.
[MariaDB]: https://mariadb.org/
[MySQL]: https://www.mysql.com/## Support version
| PHP | MySQL/MariaDB Version | CI-Actions |
|-------------|-----------------------|------------|
| **8.1-8.4** |**5.7-8.0**/**10.4-10.10**|[](https://github.com/yiisoft/db-mysql/actions/workflows/build.yml) [](https://github.com/yiisoft/db-mysql/actions/workflows/ansi-mode.yml) [](https://dashboard.stryker-mutator.io/reports/github.com/yiisoft/db-mysql/master) [](https://github.com/yiisoft/db-mysql/actions/workflows/static.yml)## Installation
The package could be installed with [Composer](https://getcomposer.org):
```shell
composer require yiisoft/db-mysql
```## Documentation
[Check the documentation](https://github.com/yiisoft/db/blob/master/docs/guide/en/README.md) to learn about usage
- [Connection config for MySQL and MariaDB](https://github.com/yiisoft/db/blob/master/docs/guide/en/connection/mysql.md)
- [Internals](docs/internals.md)If you need help or have a question, the [Yii Forum](https://forum.yiiframework.com/c/yii-3-0/63) is a good place for that.
You may also check out other [Yii Community Resources](https://www.yiiframework.com/community).## License
The Yii Database MySQL and MariaDB driver is free software. It is released under the terms of the BSD License.
Please see [`LICENSE`](./LICENSE.md) for more information.Maintained by [Yii Software](https://www.yiiframework.com/).
## Support the project
[](https://opencollective.com/yiisoft)
## Follow updates
[](https://www.yiiframework.com/)
[](https://twitter.com/yiiframework)
[](https://t.me/yii3en)
[](https://www.facebook.com/groups/yiitalk)
[](https://yiiframework.com/go/slack)