PHPackages                             itraxwa/db - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. itraxwa/db

ActiveLibarary

itraxwa/db
==========

php wrapper for mysql db

00PHP

Since Nov 22Pushed 2y ago1 watchersCompare

[ Source](https://github.com/walaasalah123321/compo)[ Packagist](https://packagist.org/packages/itraxwa/db)[ RSS](/packages/itraxwa-db/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)DependenciesVersions (1)Used By (0)

🍗 dbhelp 🍗
==========

[](#-dbhelp-)

itraxDB is a small php wrapper for mysql/postgres/sqlite databases.

installation
------------

[](#installation)

install once with composer:

```
composer require itrax/db

```

then add this to your project:

```
require __DIR__ . '/vendor/autoload.php';
use itraxwa\dbWrapper;
```

usage
-----

[](#usage)

```
/* connect to database */
// $db->connect('pdo', 'mysql', '127.0.0.1', 'username', 'password', 'database', 3306);
$db = new dbWrapper('127.0.0.1', 'username', 'password', 'database', 3306);

/* insert/update/delete */
$id = $db->insert('tablename', ['col1' => 'foo'])->execute();
$db->update('tablename', ['col1' => 'bar'])->where( ['id' => $id])->excute();
$db->delete('tablename')->where( ['id' => $id])->excute();
/* select */
$db->select('tablename','colums')->getAll();
$db->select('tablename','colums')->getRow();
$db->select('tablename','colums')->where( ['id' => $id])->getRow();
$db->select('tablename','colums')->where( ['id' => $id])->andWhere(['id' => $id])->getRow();
$db->select('tablename','colums')->where( ['id' => $id])->orWhere(['id' => $id])->getRow();
```

###  Health Score

12

—

LowBetter than 0% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity20

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/ac1f90a1058a8b677e1f9ac0c2f9157ab3e6a74739b164eaf5c999fbdc20fb59?d=identicon)[walaasalah056](/maintainers/walaasalah056)

---

Top Contributors

[![walaasalah123321](https://avatars.githubusercontent.com/u/69351235?v=4)](https://github.com/walaasalah123321 "walaasalah123321 (3 commits)")

### Embed Badge

![Health badge](/badges/itraxwa-db/health.svg)

```
[![Health](https://phpackages.com/badges/itraxwa-db/health.svg)](https://phpackages.com/packages/itraxwa-db)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
