oito/php-micro-plugin-doctrine-dbal
Doctrine DBAL plugin for Oito PHP microframework
v1.0.0
2014-03-01 19:28 UTC
Requires
- php: >=5.4.0
- doctrine/dbal: v2.4.2
README
Uses the libraries
- Doctrine DBAL (https://github.com/doctrine/dbal)
About
This plugin enables you to use the Dcotrine DBAL library to manage database connections, persist data and execute SQL commands.
Usage
<?php $app = new \Oito\Micro\Application(); // the plugin will be available as: "dbal" $app->addPlugin(new \Oito\Micro\Plugin\DoctrineDbal()); $app->dbal->query('...');