PHPackages                             nzn1/php-pdo-class - 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. [Database &amp; ORM](/categories/database)
4. /
5. nzn1/php-pdo-class

ActiveLibrary[Database &amp; ORM](/categories/database)

nzn1/php-pdo-class
==================

Simple PDO Class

v1.3(2y ago)017PHPPHP &gt;=5.4

Since Jun 12Pushed 2y agoCompare

[ Source](https://github.com/nzn1/PHP-PDO-Class)[ Packagist](https://packagist.org/packages/nzn1/php-pdo-class)[ RSS](/packages/nzn1-php-pdo-class/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (3)Used By (0)

Simple-PDO-Class
================

[](#simple-pdo-class)

This class is a very simple class made for programmers who are tired of using quotes to escape string from being read as constants or receiving syntax errors. This class will allow you to call different databases on different variables as well as allowing you to define values in an array as the second parameter of a function.

##### Calling a new class and setting the parameters for authentication

[](#calling-a-new-class-and-setting-the-parameters-for-authentication)

Calling class on variable $db (this can be any variable name). Find construction calls below in order:

- Database host address
- Username for authentication
- Password for authentication
- Database name

**Please note: the data array is NOT required. All question marks (?) found in the query will be replaced with the data (in order) found in the array of the second parameter.****You do NOT need to use quotes as PDO sorts this out for you during query preperation.**

```
use Nzn1\PhpPdoClass\Dbpdo;
$db = new Dbpdo("localhost", "root", "password", "database");

```

Installation
------------

[](#installation)

- `composer require nzn1/php-pdo-class`
- standard composer autoloading: `require 'vendor/autoload.php';`

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 Bus Factor1

Top contributor holds 76.2% 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 ~0 days

Total

2

Last Release

749d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/852598?v=4)[NZN](/maintainers/nzn)[@NZN](https://github.com/NZN)

---

Top Contributors

[![nzn1](https://avatars.githubusercontent.com/u/4971519?v=4)](https://github.com/nzn1 "nzn1 (16 commits)")[![MiksZvirbulis](https://avatars.githubusercontent.com/u/4387289?v=4)](https://github.com/MiksZvirbulis "MiksZvirbulis (5 commits)")

### Embed Badge

![Health badge](/badges/nzn1-php-pdo-class/health.svg)

```
[![Health](https://phpackages.com/badges/nzn1-php-pdo-class/health.svg)](https://phpackages.com/packages/nzn1-php-pdo-class)
```

###  Alternatives

[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k117.2M117](/packages/jdorn-sql-formatter)[propel/propel1

Propel is an open-source Object-Relational Mapping (ORM) for PHP5.

8351.6M87](/packages/propel-propel1)[jfelder/oracledb

Oracle DB driver for Laravel

11518.4k](/packages/jfelder-oracledb)

PHPackages © 2026

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