PHPackages                             ludicat/mssql-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. ludicat/mssql-bundle

ActiveSymfony-bundle[Database &amp; ORM](/categories/database)

ludicat/mssql-bundle
====================

Microsoft SQL Server Bundle for Symfony 2

01PHP

Since Nov 22Pushed 5mo agoCompare

[ Source](https://github.com/Ludicat/mssql-bundle)[ Packagist](https://packagist.org/packages/ludicat/mssql-bundle)[ RSS](/packages/ludicat-mssql-bundle/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

This project is a fork of realestateconz/mssql-bundle for legacy compatibility. NO NOT USE for new projects.
============================================================================================================

[](#this-project-is-a-fork-of-realestateconzmssql-bundle-for-legacy-compatibility-no-not-use-for-new-projects)

Installation
------------

[](#installation)

### Step 1. Install MssqlBundle

[](#step-1-install-mssqlbundle)

Add the **ludicat/mssql-bundle** into **composer.json**

```
"require": {
    ....
    "ludicat/mssql-bundle": "master-dev"
},

```

And run

```
$ php composer.phar install
```

### Step 2. Configure DBAL's connection to use MssqlBundle

[](#step-2-configure-dbals-connection-to-use-mssqlbundle)

In config.yml, remove the "driver" param and add "driver\_class" instead:

```
doctrine:
    dbal:
        default_connection:     default
        connections:
            default:
                driver_class:   Realestate\MssqlBundle\Driver\PDODblib\Driver
                host:           %database_host%
                dbname:         %database_prefix%%database_name%
                user:           %database_user%
                password:       %database_password%

```

### Step 3. Enable the bundle

[](#step-3-enable-the-bundle)

Finally, enable the bundle in the kernel:

```
