microsoft/msphpsql
Microsoft Drivers for PHP for SQL Server observed · 2026-08-28
Health v2 · maintenance only
94/100
- Activity 98
- Release rhythm 84
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 61
- age_days: 4516
- days_rel: 26
- days_push: 14
- n_releases_24m: 4
Adoption not part of the score
1884 stars · 387 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Microsoft's official PHP extensions (SQLSRV and PDO_SQLSRV) for reading and writing SQL Server data from PHP scripts, supporting SQL Server 2012+ and Azure SQL Database. The drivers rely on the Microsoft ODBC Driver for SQL Server for low-level communication.
Use cases
- connect to SQL Server from a PHP application
- use PDO with SQL Server in PHP
- query Azure SQL Database from PHP scripts
- read and write SQL Server data from a PHP web app
- install a PHP driver for MSSQL on Linux or Windows
- migrate a PHP app from MySQL to SQL Server
When to choose
- your PHP application must talk to SQL Server or Azure SQL
- you want Microsoft-supported, official drivers with PDO support
- you need pre-compiled PHP extensions for Windows or Linux
When to avoid
- you use MySQL, PostgreSQL, or another database with native PDO drivers
- your PHP version is older than 8.3
- you cannot install the Microsoft ODBC Driver dependency
Facets
library · maturity active
database-driver database databases web-development backend windows php cross-platform sql-server pdo php-extension azure-sql odbc linux
1 source
- readme: https://github.com/microsoft/msphpsql · fetched 2026-08-28 · 3c65ed69d2da
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| microsoft/msphpsql | main | 94 |
For agents
markdown · JSON · MCP: product_card(name="microsoft/msphpsql")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem