PHPackages                             nickyeoman/php-mysql-helper - 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. nickyeoman/php-mysql-helper

ActiveLibrary

nickyeoman/php-mysql-helper
===========================

makes life easier when working with mysql in php8

2.3.0(3y ago)11301CC0-1.0PHP

Since Aug 1Pushed 3y ago1 watchersCompare

[ Source](https://github.com/nickyeoman/php-mysql-helper)[ Packagist](https://packagist.org/packages/nickyeoman/php-mysql-helper)[ Docs](https://www.nickyeoman.com/blog/php/php-mysql-insert-from-array/)[ RSS](/packages/nickyeoman-php-mysql-helper/feed)WikiDiscussions main Synced today

READMEChangelog (10)DependenciesVersions (18)Used By (1)

php-mysql-helper
================

[](#php-mysql-helper)

mysql helper class for php 8

see:

composer:

Usage
=====

[](#usage)

Connect
-------

[](#connect)

Here is how you connect to a database.

```
require_once 'vendor/autoload.php'; // Composer
USE Nickyeoman\Dbhelper;
$db = new Nickyeoman\Dbhelper\Dbhelp('127.0.0.1', 'username', 'thePassword', 'databaseName', '3306');
$db->close();
```

Update a row
------------

[](#update-a-row)

```
$array = array(
  'id'      => 'unique_key',
  'content' => 'data value'
)
$id = 'id'; // The key of the array to use as the lookup
$db->update("name_of_db_table, $array, $id);
```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity60

Established project with proven stability

 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.

###  Release Activity

Cadence

Every ~34 days

Recently: every ~45 days

Total

17

Last Release

1188d ago

Major Versions

1.0.3 → 2.0.02021-08-06

### Community

Maintainers

![](https://www.gravatar.com/avatar/031d3fa3e2adb505d3d88fac435590cc603a2e99a4b856c2fe8c6aa2b08f8db5?d=identicon)[nickyeoman](/maintainers/nickyeoman)

---

Top Contributors

[![nickyeoman](https://avatars.githubusercontent.com/u/630708?v=4)](https://github.com/nickyeoman "nickyeoman (26 commits)")

### Embed Badge

![Health badge](/badges/nickyeoman-php-mysql-helper/health.svg)

```
[![Health](https://phpackages.com/badges/nickyeoman-php-mysql-helper/health.svg)](https://phpackages.com/packages/nickyeoman-php-mysql-helper)
```

PHPackages © 2026

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