https://github.com/yiisoft/db-mssql
MSSQL Server driver for Yii Database
https://github.com/yiisoft/db-mssql
database dbal mssql query-builder sql sql-server yii3
Last synced: 10 months ago
JSON representation
MSSQL Server driver for Yii Database
- Host: GitHub
- URL: https://github.com/yiisoft/db-mssql
- Owner: yiisoft
- License: bsd-3-clause
- Created: 2017-12-19T11:20:23.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2024-10-20T03:55:41.000Z (over 1 year ago)
- Last Synced: 2024-10-29T14:35:35.101Z (about 1 year ago)
- Topics: database, dbal, mssql, query-builder, sql, sql-server, yii3
- Language: PHP
- Homepage: https://www.yiiframework.com/
- Size: 716 KB
- Stars: 26
- Watchers: 22
- Forks: 13
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
- Code of conduct: .github/CODE_OF_CONDUCT.md
- Security: .github/SECURITY.md
Awesome Lists containing this project
README
Yii Database MSSQL Server driver
[](https://packagist.org/packages/yiisoft/db-mssql)
[](https://packagist.org/packages/yiisoft/db-mssql)
[](https://codecov.io/gh/yiisoft/db-mssql)
[](https://dashboard.stryker-mutator.io/reports/github.com/yiisoft/db-mssql/master)
[](https://github.com/yiisoft/db-mssql/actions?query=workflow%3A%22static+analysis%22)
[](https://shepherd.dev/github/yiisoft/db-mssql)
[](https://shepherd.dev/github/yiisoft/db-mssql)
MSSQL Server driver for [Yii Database](https://github.com/yiisoft/db) is a package for working with [MSSQL] databases in PHP.
The package provides a set of classes for connecting to a [MSSQL] database, creating and executing commands, and working with data.
It also includes a set of tools for building and executing queries, including support for parameter binding, as well
as tools for working with transactions.
To use it, you will need to have the PHP [MSSQL extension] installed and enabled on your server. You will also need to
have access to a SQL Server database and the necessary credentials to connect to it.
[MSSQL]: https://www.microsoft.com/sql-server
[MSSQL extension]: https://pecl.php.net/package/sqlsrv
## Support version
| PHP | MSSQL Version | CI-Actions |
|---------------|---------------|------------|
| **8.1 - 8.4** | **2017 - 2022**| [](https://github.com/yiisoft/db-mssql/actions/workflows/build.yml)
## Installation
The package could be installed with [Composer](https://getcomposer.org):
```shell
composer require yiisoft/db-mssql
```
## Documentation
To configure connection to MSSQL database check [Connecting MSSQL](https://github.com/yiisoft/db/blob/master/docs/guide/en/connection/mssql.md).
[Check the documentation docs](https://github.com/yiisoft/db/blob/master/docs/guide/en/README.md) to learn about usage.
- [Internals](docs/internals.md)
If you need help or have a question, the [Yii Forum](https://forum.yiiframework.com/c/yii-3-0/63) is a good place for that.
You may also check out other [Yii Community Resources](https://www.yiiframework.com/community).
## License
The Yii Database MSSQL Server driver is free software. It is released under the terms of the BSD License.
Please see [`LICENSE`](./LICENSE.md) for more information.
Maintained by [Yii Software](https://www.yiiframework.com/).
## Support the project
[](https://opencollective.com/yiisoft)
## Follow updates
[](https://www.yiiframework.com/)
[](https://twitter.com/yiiframework)
[](https://t.me/yii3en)
[](https://www.facebook.com/groups/yiitalk)
[](https://yiiframework.com/go/slack)