microsoft/msphpsql
Some data may be outdated — see provenance labels.
Microsoft Drivers for PHP for SQL Server observed · 2026-09-21
Health v2 · maintenance only
90/100
- Activity 95
- Release rhythm 77
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 61
- age_days: 4564
- days_rel: 74
- days_push: 34
- n_releases_24m: 4
Adoption not part of the score
1884 stars · 385 forks observed · 2026-09-21
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-09-21 · 3c65ed69d2da
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| microsoft/msphpsql | main | 90 |
For agents
markdown · JSON · MCP: product_card(name="microsoft/msphpsql")
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem