hiqdev/yii2-data-mapper

Data Mapper for Yii2

Installs: 6 860

Dependents: 1

Suggesters: 0

Security: 0

Stars: 12

Watchers: 4

Forks: 2

Open Issues: 1

Type:yii2-extension

0.1.0 2020-04-21 11:54 UTC

This package is auto-updated.

Last update: 2020-08-03 08:42:49 UTC


README

Data Mapper for Yii2

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 Repository, Specification CustomerRepostory
Data Access Query, QueryBuilder PDO, ActiveRecord, HiArt
DATA Storage DB, API, Queue, File System

Installation

The preferred way to install this yii2-extension is through composer.

Either run

php composer.phar require "hiqdev/yii2-data-mapper"

or add

"hiqdev/yii2-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/)