Download the PHP package anonymous-php/mysqli-pdo-bridge without Composer
On this page you can find all versions of the php package anonymous-php/mysqli-pdo-bridge. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download anonymous-php/mysqli-pdo-bridge
More information about anonymous-php/mysqli-pdo-bridge
Files in anonymous-php/mysqli-pdo-bridge
Download anonymous-php/mysqli-pdo-bridge
More information about anonymous-php/mysqli-pdo-bridge
Files in anonymous-php/mysqli-pdo-bridge
Vendor anonymous-php
Package mysqli-pdo-bridge
Short Description Make your application PDO-compatible. This library gives you the possibility to use mysqli connection with the PDO interfaces.
License MIT
Package mysqli-pdo-bridge
Short Description Make your application PDO-compatible. This library gives you the possibility to use mysqli connection with the PDO interfaces.
License MIT
Please rate this library. Is it a good library?
Informations about the package mysqli-pdo-bridge
mysqli-pdo-bridge
This library gives you the possibility to use mysqli connection with the PDO interfaces. No additional wrappers or methods provides.
Examples
New connection:
Existed connection:
Get connection:
Installation
Error reporting
Error reporting modes implemented as in PDO but error codes and messages belong to Mysqli.
Implemented PDO fetch modes
- PDO::FETCH_BOTH
- PDO::FETCH_ASSOC
- PDO::FETCH_NUM
- PDO::FETCH_COLUMN
- PDO::FETCH_CLASS
- PDO::FETCH_OBJ
- PDO::FETCH_FUNC
- PDO::FETCH_INTO
- PDO::FETCH_BOUND
Implemented PDO options (attributes)
- PDO::ATTR_ERRMODE (PDO::ERRMODE_SILENT, PDO::ERRMODE_WARNING or PDO::ERRMODE_EXCEPTION, PDO::ERRMODE_SILENT by default)
- PDO::ATTR_AUTOCOMMIT (true or false, true by default)
- PDO::MYSQL_ATTR_USE_BUFFERED_QUERY (true or false, true by default)
- PDO::ATTR_DEFAULT_FETCH_MODE (see implemented fetch modes)
- PDO::MYSQL_ATTR_INIT_COMMAND (only for new connections)
- PDO::ATTR_PERSISTENT (true or false, false by default)
- PDO::ATTR_CONNECTION_STATUS (read only, null on error)
Possible issues
- Stability
- Performance
- Exotic fetching modes
- Cursors
Todo
- Map "duplicate record" error on insert to PDO code
- Method debugDumpParams
- Tests
- Documentation
Why?
We have a huge legacy project with mysqli which we want to refactor and we still have PHP 5.5 on several nodes.
All versions of mysqli-pdo-bridge with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.5
The package anonymous-php/mysqli-pdo-bridge contains the following files
Loading the files please wait ....