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.
todo: add how to install here
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());
}
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. |
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: