PHPackages                             pitech-mures/mssqlbundle - 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. pitech-mures/mssqlbundle

ActiveSymfony-bundle

pitech-mures/mssqlbundle
========================

v1.1(8y ago)07291MITPHP

Since Sep 12Pushed 8y ago2 watchersCompare

[ Source](https://github.com/brunneros/pitech-mssql)[ Packagist](https://packagist.org/packages/pitech-mures/mssqlbundle)[ RSS](/packages/pitech-mures-mssqlbundle/feed)WikiDiscussions master Synced 2mo ago

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

Pitech Mssql Bundle
===================

[](#pitech-mssql-bundle)

This bundle contains a tweak of [mediamonks/symfony-mssql-bundle](https://github.com/mediamonks/symfony-mssql-bundle) to ensure compatibility with Microsoft Sql Server 2005 This readme is based on the original one at [mediamonks github](https://github.com/mediamonks/symfony-mssql-bundle/blob/master/Resources/doc/1-setting_up_the_bundle.rst)

Installation
============

[](#installation)

A) Add the Pitech bundle to the project
---------------------------------------

[](#a-add-the-pitech-bundle-to-the-project)

```
    composer require pitech-mures/mssqlbundle

```

B) Initialize the Pitech and Mediamonks bundles in AppKernel.php
----------------------------------------------------------------

[](#b-initialize-the-pitech-and-mediamonks-bundles-in-appkernelphp)

```
    new MediaMonks\MssqlBundle\MediaMonksMssqlBundle(),
    new Pitech\MssqlBundle\PitechMssqlBundle(),

```

C) Enable the driver
--------------------

[](#c-enable-the-driver)

Now you should be able to enable the driver by updating your Doctrine DBAL config in the `app/config/config.yml` so it looks like this:

```
    doctrine:
        dbal:
            driver_class: Pitech\MssqlBundle\DBAL\Driver\PDODblib\Driver
            wrapper_class: MediaMonks\MssqlBundle\Doctrine\DBAL\Connection
            host:     "%database_host%"
            port:     "%database_port%"
            dbname:   "%database_name%"
            user:     "%database_user%"
            password: "%database_password%"
            charset:  UTF-8

```

D) Enable the DB session handler
================================

[](#d-enable-the-db-session-handler)

Since the default PDO Session Handler provided by Symfony does not support `pdo_dblib`a custom handler is needed. Luckily the configuring it is very similar as configuring the default one.

Open up `app/services.yml` and add these services:

```
    services:
        pdo:
            class: MediaMonks\MssqlBundle\PDO\PDO
            arguments:
                host: "%database_host%"
                port: "%database_port%"
                dbname: "%database_name%"
                user: "%database_user%"
                password: "%database_password%"
                options:
            calls:
                - [setAttribute, [3, 2]] # \PDO::ATTR_ERRMODE, \PDO::ERRMODE_EXCEPTION

        session.handler.pdo:
            class:     MediaMonks\MssqlBundle\Session\Storage\Handler\PdoSessionHandler
            public:    false
            arguments: ["@pdo"]

```

E) Enable the Composer script
-----------------------------

[](#e-enable-the-composer-script)

Open your `composer.json` file and make sure the script is added to `post-install-cmd` and `post-update-cmd`

```
    "scripts": {
        "post-install-cmd": [
            "MediaMonks\\MssqlBundle\\Composer\\ScriptHandler::ensureDoctrineORMOverrides"
        ],
        "post-update-cmd": [
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap"
        ]
    }

```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 66.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~1 days

Total

2

Last Release

3166d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/da6349f0395638df85d77b7275916d8a6422694e5c89112c7f3b390bcc251eb9?d=identicon)[brunneros](/maintainers/brunneros)

---

Top Contributors

[![szabi7](https://avatars.githubusercontent.com/u/12086931?v=4)](https://github.com/szabi7 "szabi7 (2 commits)")[![brunneros](https://avatars.githubusercontent.com/u/7578912?v=4)](https://github.com/brunneros "brunneros (1 commits)")

### Embed Badge

![Health badge](/badges/pitech-mures-mssqlbundle/health.svg)

```
[![Health](https://phpackages.com/badges/pitech-mures-mssqlbundle/health.svg)](https://phpackages.com/packages/pitech-mures-mssqlbundle)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
