# ThingEngineer/PHP-MySQLi-Database-Class

Wrapper for a PHP MySQL class, which utilizes MySQLi and prepared statements.

Repository: https://github.com/ThingEngineer/PHP-MySQLi-Database-Class
Canonical: https://ross.abutalabs.com/products/php-mysqli-database-class
Language: PHP
License: NOASSERTION
License Family: other
Last push: 2026-02-27T01:40:50+00:00

## Health v2 (maintenance only)
Score: 54/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 69, release rhythm 8, longevity 100
- inputs: {"age_days": 5793, "days_push": 188, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3298, forks 1308 (observed 2026-08-28T04:07:55.630821+00:00)

## What it is
A lightweight PHP wrapper around MySQLi providing a fluent query builder with prepared statements and simple object mapping. It supports insert/update/select/delete helpers, joins, subqueries, pagination, and transactions.

## Use cases
- run mysql queries with prepared statements in php
- simple query builder for mysqli
- map query results to objects in php
- avoid sql injection in php mysql app
- wrap raw mysqli with helper methods

## When to choose
- you want a small, dependency-light MySQL layer without a full ORM
- you need prepared statements with a fluent API in legacy or plain PHP projects

## When to avoid
- you use a database other than MySQL/MariaDB
- you need a full-featured ORM with migrations and relations
- you are on a modern framework that already ships a database abstraction layer

## Facets
- artifact type: library
- maturity: maintenance
- function: database-driver, orm, database
- domain: databases, web-development, backend
- platform: php
- tags: mysqli, prepared-statements, query-builder, object-mapper, mysql

## Member repositories
- ThingEngineer/PHP-MySQLi-Database-Class (main) score 54

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:55.630821+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:22:41.360836+00:00, confidence not recorded.
  - readme: https://github.com/ThingEngineer/PHP-MySQLi-Database-Class (fetched 2026-08-28T04:07:55.630821+00:00, sha 8815fef87d6f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
