Download the PHP package victorvolpe/php-pdo-wrapper without Composer
On this page you can find all versions of the php package victorvolpe/php-pdo-wrapper. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package php-pdo-wrapper
PHP-PDO-Wrapper
A simple, modern, and lightweight PHP PDO wrapper for MySQL (and compatible databases). Built with type safety, PSR standards, and inspired by lincanbin/PHP-PDO-MySQL-Class.
Features
- Easy database connections with automatic retry
- Secure query binding (including
IN (?)arrays support) - Fluent methods for common operations (select, insert, update, delete)
- Transaction support
- Error handling with automatic reconnection on server timeout
- Simple logging for connection and query errors
Installation
You can install via Composer:
Or simply include DB.php manually if you prefer not to use Composer.
Usage
1. Instantiate the Database
2. Basic Query
3. Fetch a Single Row
4. Fetch a Single Column
5. Fetch a Single Value
6. Insert a New Record
7. Update Existing Records
8. Delete Records
9. Transactions
Logging
If a connection error or query exception occurs, a log file will automatically be created in:
License
This project is open-sourced under the MIT License.
All versions of php-pdo-wrapper with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.2
The package victorvolpe/php-pdo-wrapper contains the following files
Loading the files please wait ...