Skip to content
Projects

yiisoft/db-mssql has 29 GitHub stars and 14 forks. Star changes are not measured yet. Last checked 2026-11-14 04:37 UTC. Last push 2026-10-18.

How these counts are measured

Measured star growth

in 24h
Collecting history
in 7 days
Collecting history
in 15 days
Collecting history
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

About

Microsoft SQL Server driver for Yii Database

Data

README.md

Original

Yii MSSQL

Yii Database Microsoft SQL Server Driver


Latest Stable Version Total Downloads Build status Code Coverage Mutation testing badge static analysis type-coverage psalm-level

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.5.
  • pdo_sqlsrv PHP 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.

Support the project

Open Collective

Follow updates

Official website Twitter Telegram Facebook Slack

Explore related projects