yiisoft / db-mssql
Microsoft SQL Server driver for Yii Database
Fund package maintenance!
Opencollective
yiisoft
Installs: 71 709
Dependents: 2
Suggesters: 4
Security: 0
Stars: 27
Watchers: 17
Forks: 12
Open Issues: 3
pkg:composer/yiisoft/db-mssql
Requires
- php: ^8.0
- ext-pdo: *
- yiisoft/db: ^1.2
Requires (Dev)
- maglnet/composer-require-checker: ^4.2
- phpunit/phpunit: ^9.6|^10.0
- rector/rector: ^1.0
- roave/infection-static-analysis-plugin: ^1.16
- spatie/phpunit-watcher: ^1.23
- vimeo/psalm: ^4.30|^5.20
- yiisoft/aliases: ^2.0
- yiisoft/cache-file: ^3.1
- yiisoft/var-dumper: ^1.5
This package is auto-updated.
Last update: 2025-11-13 14:18:41 UTC
README
Yii Database Microsoft SQL Server Driver
Microsoft SQL Server driver for Yii Database is a package for working with MSSQL 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 Microsoft SQL Server 2017 or higher.
Requirements
- PHP 8.1 - 8.4.
pdo_sqlsrvPHP extension.
Installation
The package could be installed with Composer:
composer require yiisoft/db-mssql
Important
See also installation notes for yiisoft/db
package.
Documentation
For config connection to MSSQL database check Connecting MSSQL.
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 Microsoft SQL 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.