PHPackages                             nestboxphp/nestbox - 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. nestboxphp/nestbox

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

nestboxphp/nestbox
==================

A PHP Data Objects (PDO) wrapper class for databases manipulations.

v0.0.5(2y ago)153[2 issues](https://github.com/NestboxPHP/Nestbox/issues)5AGPL-3.0PHP

Since May 12Pushed 1y agoCompare

[ Source](https://github.com/NestboxPHP/Nestbox)[ Packagist](https://packagist.org/packages/nestboxphp/nestbox)[ RSS](/packages/nestboxphp-nestbox/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (6)DependenciesVersions (9)Used By (5)

Nestbox
=======

[](#nestbox)

A PHP Data Objects (PDO) wrapper class for databases manipulations to easily fill gaps of niche requirements. This project was designed with simplistic usage with database safety in mind. It is updated as needs arise and is probably a result of NIH syndrome.

Installing
----------

[](#installing)

*todo: add how to install here*

Basic Usage
-----------

[](#basic-usage)

```
use NestboxPHP\Nestbox;

$nest = new Nestbox($dbHost, $dbUser, $dbPass, $dbName);

try {
    if( $nest->query_execute( "SELECT * FROM `users`;" )) {
        $users = $nest->results();
    }
} catch ( NestboxException $exception ) {
    die( $exception->getMessage());
}
```

Packages
--------

[](#packages)

Nestbox is meant to be a base PDO wrapper upon which to build. The following packages (Birds) are currenly in development or supported:

PackageDescription[Babbler](https://github.com/NestboxPHP/Babbler)Content management for website/blog functionality.[Bullfinch](https://github.com/NestboxPHP/Bullfinch)Message board management.[Cuckoo](https://github.com/NestboxPHP/Cuckoo)Transparent in-line encryption for queries.[Lorikeet](https://github.com/NestboxPHP/Lorikeet)Image upload processing and indexing.[Macaw](https://github.com/NestboxPHP/Macaw)An interface for the Microsoft PlayFab REST API.[Magpie](https://github.com/NestboxPHP/Magpie)User and role permissions manager.[Sternidae](https://github.com/NestboxPHP/Sternidae)Historical and future flight tracking tool.[Titmouse](https://github.com/NestboxPHP/Titmouse)User registration and session management with built-in password best-practices.[Veery](https://github.com/NestboxPHP/Veery)Weather forecast data collection, storage, and analysis.[Weaver](https://github.com/NestboxPHP/Weaver)REST API endpoint management.References
==========

[](#references)

Since this was a project that originated with the intent of learning how to do PDO things, here are some great references used during the development of this project:

- [(The only proper) PDO tutorial](https://phpdelusions.net/pdo)
- [Roll your own PDO PHP Class](http://culttt.com/2012/10/01/roll-your-own-pdo-php-class/)
- [Why You Should Be Using PHP's PDO for Database Access](http://code.tutsplus.com/tutorials/why-you-should-be-using-phps-pdo-for-database-access--net-12059)

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance16

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 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 ~4 days

Total

6

Last Release

716d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/759db8108809c477a3894c344aaf6a0c39645f3ed81c136f831bf68e1c6417ae?d=identicon)[supergnaw](/maintainers/supergnaw)

---

Top Contributors

[![supergnaw](https://avatars.githubusercontent.com/u/25543199?v=4)](https://github.com/supergnaw "supergnaw (39 commits)")

### Embed Badge

![Health badge](/badges/nestboxphp-nestbox/health.svg)

```
[![Health](https://phpackages.com/badges/nestboxphp-nestbox/health.svg)](https://phpackages.com/packages/nestboxphp-nestbox)
```

###  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)[ramsey/uuid-doctrine

Use ramsey/uuid as a Doctrine field type.

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

Reliese Components for Laravel Framework code generation.

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

Laravel Userstamps provides an Eloquent trait which automatically maintains `created\_by` and `updated\_by` columns on your model, populated by the currently authenticated user in your application.

7511.7M13](/packages/wildside-userstamps)

PHPackages © 2026

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