PHPackages                             cpierce/cakephp-sybasedb - 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. cpierce/cakephp-sybasedb

ActiveCakephp-plugin[Database &amp; ORM](/categories/database)

cpierce/cakephp-sybasedb
========================

CakePHP plugin to handle PDO MSSQL Connections using dblib

1.1.2(4y ago)1033.3k↑225%5[1 issues](https://github.com/cpierce/microsoft-sql-pdo-for-cakephp-2.x/issues)MITPHPPHP &gt;=5.6

Since Feb 27Pushed 4y ago1 watchersCompare

[ Source](https://github.com/cpierce/microsoft-sql-pdo-for-cakephp-2.x)[ Packagist](https://packagist.org/packages/cpierce/cakephp-sybasedb)[ Docs](http://github.com/cpierce/microsoft-sql-pdo-for-cakephp-2.x)[ RSS](/packages/cpierce-cakephp-sybasedb/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (1)Versions (10)Used By (0)

SybaseDB 1.0
============

[](#sybasedb-10)

Creates a PDO connection to MSSql server through Sybase dblib as a plugin for CakePHP 2.x

### Background

[](#background)

To many people on the Internet were looking for a simple way to connect to a MSSQL db from a linux installed cakePHP app. I was one of them so after hours of research the birth of this plugin was planned. A few hours later it was completed.

### Prerequisites?

[](#prerequisites)

- php5-sybase package installed on your linux system (apt-get install php5-sybase)
- enable php Sybase module in php.ini file (extension=pdo\_dblib.so)
- CakePHP 2.x app installed and baked on your server

### How to use the plugin

[](#how-to-use-the-plugin)

Update your `composer.json` file using the following:

```
composer require cpierce/cakephp-sybasedb

```

Enable the Plugin in your `app/Config/bootstrap.php` file:

```
