Registry / orm / tharos-leanmapper

tharos-leanmapper

JSON →
library4.3.0phppackagistunverified

Tiny ORM based on powerful Dibi database abstraction library for PHP.

composer require tharos/leanmapper
INSTALL
IMPORT
SIG · THAROS-LEANMAPPER
T
tharos-leanmapper
ormphpv4.3.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.

Connection
use LeanMapper\Connection;

Create a database connection and execute a query.

use LeanMapper\Connection; $connection = new Connection([ 'driver' => 'mysqli', 'host' => 'localhost', 'username' => 'root', 'password' => '', 'database' => 'test', ]); $result = $connection->query('SELECT * FROM users');
Debug
Known issues
breakingRequires Dibi library; ensure it is installed.
fix
Add dibi/dibi to your composer.json.
affects: >=4.0.0
Upgrade
Version history
4.3.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
40 hits · last 30 days
node
34
OpenAI (training)
1
Resources
tharos-leanmapper — pip install tharos-leanmapper · libregistry