PHPackages                             prefeituravitoria/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. prefeituravitoria/mssql-bundle

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

prefeituravitoria/mssql-bundle
==============================

Microsoft SQL Server Bundle for Symfony 2

2.2.1(11y ago)094MITPHP

Since May 7Pushed 11y ago1 watchersCompare

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

READMEChangelog (2)Dependencies (1)Versions (6)Used By (0)

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

[](#installation)

### Step 1. Install MssqlBundle

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

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

```
"require": {
    ....
    "prefeituravitoria/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:

```
