2017 © Pedro Peláez
 

library doctrine-dbal-extensions

extensions for the doctrine dbal project

image

bedd/doctrine-dbal-extensions

extensions for the doctrine dbal project

  • Thursday, March 9, 2017
  • by schwaen
  • Repository
  • 1 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

README

Build Status Latest Stable Version Total Downloads Latest Unstable Version License Scrutinizer Code Quality, (*1)

Installation

The best way to install this library is to use composer., (*2)

{
    "require": {
        "bedd/doctrine-dbal-extensions": "1.*"
    }
}

Usage

Getting a model

$config = new \Doctrine\DBAL\Configuration();
$connectionParams = array(
    // other params... like the access
    'wrapperClass' => '\Bedd\Doctrine\Dbal\Connection',
);
$conn = \Doctrine\DBAL\DriverManager::getConnection($connectionParams, $config);
//variant #1 (need the wrapperClass)
$model1 = $conn->getModel('table_name');
//variant #2 (no need of the wrapperClass)
$model2 = new \Bedd\Doctrine\Dbal\Model('table_name', $conn);```

### Working with a model
```php
//@todo

License

This library is available under the MIT license., (*3)

The Versions

09/03 2017

dev-master

9999999-dev

extensions for the doctrine dbal project

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

by Sven Muhle