{"id":18395360,"url":"https://github.com/mediamonks/symfony-mssql-bundle","last_synced_at":"2025-04-07T03:35:05.782Z","repository":{"id":37734648,"uuid":"56844348","full_name":"mediamonks/symfony-mssql-bundle","owner":"mediamonks","description":"Greatly improves mssql support for Symfony on Unix using pdo_dblib","archived":false,"fork":false,"pushed_at":"2017-07-25T09:08:50.000Z","size":36,"stargazers_count":16,"open_issues_count":1,"forks_count":2,"subscribers_count":10,"default_branch":"master","last_synced_at":"2024-09-17T23:27:39.782Z","etag":null,"topics":["dblib","mssql","php","sonata","sonata-admin","sqlsrv","symfony","symfony-bundle","unix","utf8","windows"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mediamonks.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-04-22T09:35:28.000Z","updated_at":"2023-10-22T08:08:21.000Z","dependencies_parsed_at":"2022-09-15T14:14:27.017Z","dependency_job_id":null,"html_url":"https://github.com/mediamonks/symfony-mssql-bundle","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mediamonks%2Fsymfony-mssql-bundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mediamonks%2Fsymfony-mssql-bundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mediamonks%2Fsymfony-mssql-bundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mediamonks%2Fsymfony-mssql-bundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mediamonks","download_url":"https://codeload.github.com/mediamonks/symfony-mssql-bundle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223271160,"owners_count":17117303,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dblib","mssql","php","sonata","sonata-admin","sqlsrv","symfony","symfony-bundle","unix","utf8","windows"],"created_at":"2024-11-06T02:10:33.396Z","updated_at":"2024-11-06T02:10:33.939Z","avatar_url":"https://github.com/mediamonks.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Total Downloads](https://poser.pugx.org/mediamonks/mssql-bundle/downloads)](https://packagist.org/packages/mediamonks/mssql-bundle)\n[![Latest Stable Version](https://poser.pugx.org/mediamonks/mssql-bundle/v/stable)](https://packagist.org/packages/mediamonks/mssql-bundle)\n[![Latest Unstable Version](https://poser.pugx.org/mediamonks/mssql-bundle/v/unstable)](https://packagist.org/packages/mediamonks/mssql-bundle)\n[![SensioLabs Insight](https://img.shields.io/sensiolabs/i/dae91dea-607a-4b55-9c10-593f5908fc5f.svg)](https://insight.sensiolabs.com/projects/dae91dea-607a-4b55-9c10-593f5908fc5f)\n[![License](https://poser.pugx.org/mediamonks/mssql-bundle/license)](https://packagist.org/packages/mediamonks/mssql)\n\n# MediaMonksMssqlBundle\n\nThis bundle provides a driver which makes Symfony and Doctrine (DBAL and ORM) support dblib driver on *nix systems while also being compatible with sqlsrv on Windows.\n\n- Uses pdo_sqlsrv on Windows and pdo_dblib on unix\n- Supports UTF-8\n- Supports transactions\n- Supports Doctrine ORM\n- Supports Sonata Admin\n- Supports Symfony Sessions\n\nThere are a few bundles and packages out there which can handle dblib but unfortunately we could not make it work with UTF-8 so we spent a while on cracking this issue. Since others had already done a lot of work on this we felt we had to return the favour to the community and release this bundle.\n\n# A Big Thanks\n\n- [Realestate.co.nz](http://www.realestate.co.nz/) for their awesome [MssqlBundle](https://github.com/realestateconz/MssqlBundle/) which was the base for this bundle\n- [Leaseweb](https://www.leaseweb.com/) for their [PdoDblib package](https://github.com/LeaseWeb/LswDoctrinePdoDblib) which was very useful too\n- Michal for his hard work in the past on projects where dblib had to be used, your input for this bundle was very valuable\n- Arjen for his dedicated work on the function that prepares the query for supporting UTF-8 ♥\n- Tonny \u0026 Elmar from the .NET team for their help on working with Microsoft SQL Server\n\n# Notes\n\n- Do not use pdo_dblib unless you have very good reasons, use a different driver if you get the chance\n- You probably need to be change the FreeTDS conf, make sure you can\n- Support for ORM requires modifications to some Doctrine files in the vendor folder, a script for Composer which does this automatically is provided in this bundle\n- When doing manual queries you should always use executeQuery() and executeUpdate() on Doctrine DBAL\n- Named parameters are not supported, UTF-8 characters will be saved as ?\n- This bundle was only tested on SQL Server 2008 R2 SP2 and nvarchar fields\n- Joined inheritance mapping in ORM is not supported yet since we did not need it, this might be supported in the future\n- Symfony session handler does not use locking now, this might be supported in the future\n- There are no tests since original tests on Doctrine are also likely to fail, take this bundle as-is but please create a PR if you have found an issue and fixed it\n- MediaMonks is not responsible for any data loss, use dblib and this driver at your own risk\n\n# Documentation\n\nPlease refer to the files in the [/Resources/doc](/Resources/doc) folder.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmediamonks%2Fsymfony-mssql-bundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmediamonks%2Fsymfony-mssql-bundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmediamonks%2Fsymfony-mssql-bundle/lists"}