facile/zf1-dbal-adapter

This package is abandoned and no longer maintained. The author suggests using the https://github.com/facile-it/zf1-dbal-adapter package instead.

ZF1 Doctrine DBAL Adapter for MySql

0.2.0 2020-05-08 13:47 UTC

This package is auto-updated.

Last update: 2020-05-08 13:49:15 UTC


README

A ZF1 Zend_Db adapter to help migration to Doctrine DBAL on legacy ZF1 projects.

How to use

$connection = $container->get(\Doctrine\DBAL\Connection::class); // Get your DBAL connection
$adapter = new Facile\ZF1DbAdapter\Mysql\MysqlDBALAdapter($connection);

Zend_Db_Table::setDefaultAdapter($adapter);