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
Requires
- php: ^7.1
- doctrine/dbal: ^2.0
Requires (Dev)
- zendframework/zendframework1: dev-master#f95e971b3305744909d3ccb061182d00f1944a46 as 1.12.21
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);