PHPackages                             sevenphp/simple-dba - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. sevenphp/simple-dba

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

sevenphp/simple-dba
===================

A simple wrapper about php dba functions

10PHP

Since May 11Pushed 5y ago1 watchersCompare

[ Source](https://github.com/wkhayrattee/simple-dba)[ Packagist](https://packagist.org/packages/sevenphp/simple-dba)[ RSS](/packages/sevenphp-simple-dba/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Simple dba - a simple wrapper around the php dba functions
==========================================================

[](#simple-dba---a-simple-wrapper-around-the-php-dba-functions)

- While using the default dba functions provided by PHP, I have seen some inconsistencies and also wherever applicable, I would like to change certain things, specially the dba\_replace..etc
- This is currently a work in progress, I am experimenting with one of my side projects - as soon as I find everything is OK, will publish v1.0.0

TODO:
-----

[](#todo)

- Unit testing
- Get started with a simple example
- Publish in Packagist when ready

Unit Testing
------------

[](#unit-testing)

### Install PEST

[](#install-pest)

I find PEST a little more elegant, let's try this.

```
$ composer require pestphp/pest --dev --with-all-dependencies
$ ./vendor/bin/pest --init

```

### Using PEST

[](#using-pest)

```
$ ./vendor/bin/pest

```

### Test Code Coverage

[](#test-code-coverage)

- We'll use [PCOV](https://github.com/krakjoe/pcov)
- Install:

```
$ apt-get install php7.4-pcov

```

- Execute the coverage:

```
$ ./vendor/bin/pest --coverage

```

###  Health Score

16

—

LowBetter than 4% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity30

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/1e099126f576980e8508ea28e129bc361755285226ed201053528546aec356aa?d=identicon)[wkhayrattee](/maintainers/wkhayrattee)

---

Top Contributors

[![wkhayrattee](https://avatars.githubusercontent.com/u/7369626?v=4)](https://github.com/wkhayrattee "wkhayrattee (28 commits)")

---

Tags

dbalmdbphp

### Embed Badge

![Health badge](/badges/sevenphp-simple-dba/health.svg)

```
[![Health](https://phpackages.com/badges/sevenphp-simple-dba/health.svg)](https://phpackages.com/packages/sevenphp-simple-dba)
```

PHPackages © 2026

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