nestboxphp / nestbox
A PHP Data Objects (PDO) wrapper class for databases manipulations.
v0.0.6-alpha
2024-06-01 17:03 UTC
This package is auto-updated.
Last update: 2025-04-14 03:15:14 UTC
README
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
todo: add how to install here
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
Nestbox is meant to be a base PDO wrapper upon which to build. The following packages (Birds) are currenly in development or supported:
Package | Description |
---|---|
Babbler | Content management for website/blog functionality. |
Bullfinch | Message board management. |
Cuckoo | Transparent in-line encryption for queries. |
Lorikeet | Image upload processing and indexing. |
Macaw | An interface for the Microsoft PlayFab REST API. |
Magpie | User and role permissions manager. |
Sternidae | Historical and future flight tracking tool. |
Titmouse | User registration and session management with built-in password best-practices. |
Veery | Weather forecast data collection, storage, and analysis. |
Weaver | REST API endpoint management. |
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: