sevenphp / simple-dba
A simple wrapper about php dba functions
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/sevenphp/simple-dba
Requires
- php: >=7.3
Requires (Dev)
- pestphp/pest: ^1.1
This package is auto-updated.
Last update: 2025-09-29 02:51:44 UTC
README
- 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:
- Unit testing
- Get started with a simple example
- Publish in Packagist when ready
Unit Testing
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
$ ./vendor/bin/pest
Test Code Coverage
- We'll use PCOV
- Install:
$ apt-get install php7.4-pcov
- Execute the coverage:
$ ./vendor/bin/pest --coverage