comphp / database-mssql
Database Driver for CommonPHP that builds queries for and connects to Microsoft SQL Server
Requires
- php: ^8.5
- comphp/config: ^0.3
- comphp/database: ^0.3
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.95
- phpunit/phpunit: ^13.1
This package is auto-updated.
Last update: 2026-05-20 18:01:07 UTC
README
Database driver for CommonPHP that builds queries for and connects to Microsoft SQL Server.
Requirements
- PHP
^8.5 comphp/database:^0.3- A SQL Server extension or connection library supported by the implementation
Installation
Once this package is available through your Composer repositories, install it with:
composer require comphp/database-mssql
Usage
<?php // TODO: Write usage
Driver Notes
This driver is intended for applications that need Microsoft SQL Server connection and query behavior through CommonPHP Database.
The driver should keep SQL Server-specific connection strings, query behavior, parameter handling, and result behavior outside the core database package.
Error Handling
Connection, query, transaction, configuration, and result failures should throw CommonPHP database driver exceptions instead of returning ambiguous false values.
Documentation
License
MIT. See LICENSE.md.