Download the PHP package maximebf/traceable-pdo without Composer
On this page you can find all versions of the php package maximebf/traceable-pdo. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download maximebf/traceable-pdo
More information about maximebf/traceable-pdo
Files in maximebf/traceable-pdo
Download maximebf/traceable-pdo
More information about maximebf/traceable-pdo
Files in maximebf/traceable-pdo
Vendor maximebf
Package traceable-pdo
Short Description Log SQL statements executed using a PDO instance
License MIT
Homepage https://github.com/maximebf/TraceablePDO
Package traceable-pdo
Short Description Log SQL statements executed using a PDO instance
License MIT
Homepage https://github.com/maximebf/TraceablePDO
Keywords debug
Please rate this library. Is it a good library?
Informations about the package traceable-pdo
TraceablePDO
Wrapper around PDO to provide information about executed statements.
$pdo = new TraceablePDO(new PDO($dsn));
$result = $pdo->query('select * from mytable');
$tracedStmt = $pdo->getLastTracedStatements();
printf("The last query took %sms to execute", $tracedStmt->getDuration());
Also provides a ProxyTraceablePDO
for custom PDO sublasses. Wrap your custom
PDO object inside it and property access and method calls will be forwarded.
Install using composer:
{
"require": {
"maximebf/traceable-pdo": "1.*"
}
}
All versions of traceable-pdo with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.3.0
The package maximebf/traceable-pdo contains the following files
Loading the files please wait ....