MSSQL Server driver for Yii Database

1.2.0 2024-03-21 07:21 UTC



Yii Database MSSQL Server driver

Latest Stable Version Total Downloads rector codecov StyleCI

MSSQL Server driver for Yii Database is a package for working with MSSQL databases in PHP.

The package provides a set of classes for connecting to a MSSQL database, creating and executing commands, and working with data. It also includes a set of tools for building and executing queries, including support for parameter binding, as well as tools for working with transactions.

To use it, you will need to have the PHP MSSQL extension installed and enabled on your server. You will also need to have access to a SQL Server database and the necessary credentials to connect to it.

Support version

PHP MSSQL Version CI-Actions
8.0 - 8.2 2017 - 2022 build Mutation testing badge static analysis type-coverage


The package could be installed with Composer:

composer require yiisoft/db-mssql


To configure connection to MSSQL database check Connecting MSSQL.

Check the documentation 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.


The Yii Database MSSQL Server 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