hiqdev/php-data-mapper
Data Mapper
Maintainers
Package info
github.com/hiqdev/php-data-mapper
Type:yii2-extension
pkg:composer/hiqdev/php-data-mapper
Requires
- ocramius/generated-hydrator: ^3.0.0
- psr/container: ^1.0
Requires (Dev)
- hiqdev/hidev: dev-master
- hiqdev/hidev-hiqdev: dev-master
- hiqdev/hidev-php: dev-master
Suggests
None
Provides
None
Conflicts
None
Replaces
None
BSD-3-Clause 761fa8bc7a08fe5d952d672e041e1e7810ce9a23
- Andrii Vasyliev <sol.woop@hiqdev.com>
- Dmitry Naumenko <d.naumenko.a.woop@gmail.com>
- Andrey Klochok <andreyklochok.woop@gmail.com>
- Yuriy Myronchuk <bladeroot.woop@gmail.com>
This package is auto-updated.
Last update: 2026-06-24 12:22:36 UTC
README
Data Mapper
👁 Latest Stable Version
👁 Total Downloads
👁 Build Status
👁 Scrutinizer Code Coverage
👁 Scrutinizer Code Quality
👁 Dependency Status
Data Mapper based on Yii2 data base abstraction.
Deliberately simple (no implicit behavior) library aimed to separate data persistence logics from data own logics.
Idea
| Abstraction | Implementation | Examples |
|---|---|---|
| Domain Layer | Entity, RepositoryInterface | Customer, CustomerRepositoryInterface |
| Data Mapper 1 | Hydration, Attribution, Specification | CustomerHydrator, CustomerAttribution |
| Data Mapper 2 | Repository, Query, | CustomerRepository, CustomerQuery |
| Data Access | Query, QueryBuilder | PDO, ActiveRecord, HiArt |
| DATA | Storage | DB, API, Queue, File System |
Installation
The preferred way to install this package is through composer.
Either run
php composer.phar require "hiqdev/php-data-mapper"
or add
"hiqdev/php-data-mapper": "*"
to the require section of your composer.json.
License
This project is released under the terms of the BSD-3-Clause license. Read more here.
Copyright © 2017-2018, HiQDev (http://hiqdev.com/)
