Registry / database / slim-pdo

slim-pdo

JSON →
library2.2.0phppackagistunverified

Just another PDO database library

composer require slim/pdo
INSTALL
IMPORT
SIG · SLIM-PDO
S
slim-pdo
databasephpv2.2.0
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.

Database
use Slim\PDO\Database;

Connect and query a database

use Slim\PDO\Database; $db = new Database('mysql:host=localhost;dbname=test', 'user', 'pass'); $rows = $db->select('SELECT * FROM users')->execute()->fetchAll();
Debug
Known issues
gotchaNot actively maintained; consider using PDO directly or Doctrine DBAL
fix
Migrate to a more modern database abstraction layer
affects: >=2.0.0
Upgrade
Version history
2.2.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
8
Amazon
1
Resources
slim-pdo — pip install slim-pdo · libregistry