Download the PHP package hunnomad/classdatabase without Composer
On this page you can find all versions of the php package hunnomad/classdatabase. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download hunnomad/classdatabase
More information about hunnomad/classdatabase
Files in hunnomad/classdatabase
Download hunnomad/classdatabase
More information about hunnomad/classdatabase
Files in hunnomad/classdatabase
Vendor hunnomad
Package classdatabase
Short Description Lightweight multi-driver database wrapper
License MIT
Package classdatabase
Short Description Lightweight multi-driver database wrapper
License MIT
Please rate this library. Is it a good library?
Informations about the package classdatabase
HunNomad / classDatabase
Overview
classDatabase is a lightweight, framework‑agnostic PHP 8+ multi‑driver database wrapper supporting:
- PDO drivers (MySQL, PostgreSQL, SQL Server, Oracle)
- MongoDB
- Redis (native functions)
Includes:
- Unified CRUD methods
- rawQuery() for direct SQL execution
- Full transaction support
- Native connection access (
getConnection())
Features
- 🚀 Multi‑driver support
- 🔧 Simple CRUD (
insert,select,update,delete) - 🧪 rawQuery() automatic SELECT/non‑SELECT detection
- 🔒 Transactions:
begin(),commit(),rollback() - 🧩 100% framework‑independent
- 🗄 Works with legacy code via
getConnection()
Installation (Composer)
If using Packagist:
For path‑based local development:
Then:
Usage Examples
1. MySQL (PDO)
INSERT
SELECT
UPDATE
DELETE
2. rawQuery() Example
Write operations:
3. Transactions
4. MongoDB Example
5. Redis Example
Note: CRUD is not provided for Redis, use native Redis methods.
Directory Structure
License
MIT License
© 2025 HunNomad (Zsolt Boszormenyi)
All versions of classdatabase with dependencies
PHP Build Version
Package Version
The package hunnomad/classdatabase contains the following files
Loading the files please wait ...