Registry / database / zetacomponents-database

zetacomponents-database

JSON →
library1.5.4phppackagistunverified

A lightweight database layer on top of PHP's PDO that allows you to utilize a database without having to take care of differences in SQL dialects.

composer require zetacomponents/database
INSTALL
IMPORT
SIG · ZETACOMPONENTS-DAT
Z
zetacomponents-database
databasephpv1.5.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ezcDbFactory
use ezcDbFactory;

Create a database connection and query.

use ezcDbFactory; $db = ezcDbFactory::create('mysql://user:pass@localhost/database'); $rows = $db->query('SELECT * FROM table')->fetchAll();
Debug
Known issues
breakingRequires PHP 5.3+ and PDO extension.
fix
Install PDO and appropriate driver.
affects: >=1.0.0
Upgrade
Version history
1.5.4latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
35 hits · last 30 days
node
30
OpenAI (training)
1
Resources
zetacomponents-database — pip install zetacomponents-database · libregistry