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(1y ago)017PHPPHP &gt;=5.4

Since Jun 12Pushed 1y 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 1mo ago

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

22

—

LowBetter than 22% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity36

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

702d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e44ec2404c1417fdd40a72d932682befeb61ede3af4b6d99f04b3ac5a3ecbb79?d=identicon)[nzn](/maintainers/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

[doctrine/orm

Object-Relational-Mapper for PHP

10.2k285.3M6.2k](/packages/doctrine-orm)[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k115.1M102](/packages/jdorn-sql-formatter)[illuminate/database

The Illuminate Database package.

2.8k52.4M9.4k](/packages/illuminate-database)[mongodb/mongodb

MongoDB driver library

1.6k64.0M546](/packages/mongodb-mongodb)[ramsey/uuid-doctrine

Use ramsey/uuid as a Doctrine field type.

90340.3M211](/packages/ramsey-uuid-doctrine)[reliese/laravel

Reliese Components for Laravel Framework code generation.

1.7k3.4M16](/packages/reliese-laravel)

PHPackages © 2026

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