Download the PHP package kenny1911/doctrine-dbal-hydrator without Composer
On this page you can find all versions of the php package kenny1911/doctrine-dbal-hydrator. 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 doctrine-dbal-hydrator
Doctrine DBAL Hydrator
[ English | Русский ]
kenny1911/doctrine-dbal-hydrator is a PHP library for easy conversion of SQL query results (Doctrine DBAL) into typed DTOs (Data Transfer Objects) with support for custom mappings, enums, and Doctrine type handling.
🔥 Features
- Flexible mapping via PHP attributes (
#[Column]) - Doctrine DBAL type support (
Types::DATETIME_IMMUTABLE,Types::JSON, etc.) - Automatic type conversion (including enums)
- Custom field name mapping (
name: 'login' → $username) - Seamless integration with existing
Doctrine\DBAL\Connection
📦 Installation
🚀 Basic Usage
1. Define a DTO
2. Configure the Hydrator
3. Hydrate Data
📌 Key Notes
- No ORM required — works directly with DBAL.
- Immutability — supports
readonlyDTOs. - Lightweight — minimal dependencies.
📜 License
MIT
All versions of doctrine-dbal-hydrator with dependencies
PHP Build Version
Package Version
The package kenny1911/doctrine-dbal-hydrator contains the following files
Loading the files please wait ...