{"id":21373028,"url":"https://github.com/hiqdev/yii2-data-mapper","last_synced_at":"2025-07-13T07:32:46.653Z","repository":{"id":27242723,"uuid":"113017273","full_name":"hiqdev/yii2-data-mapper","owner":"hiqdev","description":"Data Mapper for Yii2","archived":false,"fork":false,"pushed_at":"2023-02-28T11:04:13.000Z","size":236,"stargazers_count":12,"open_issues_count":1,"forks_count":3,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-10-25T19:58:20.981Z","etag":null,"topics":["hacktoberfest"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hiqdev.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-12-04T08:41:28.000Z","updated_at":"2021-12-28T16:56:49.000Z","dependencies_parsed_at":"2022-07-25T17:15:05.966Z","dependency_job_id":null,"html_url":"https://github.com/hiqdev/yii2-data-mapper","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiqdev%2Fyii2-data-mapper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiqdev%2Fyii2-data-mapper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiqdev%2Fyii2-data-mapper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiqdev%2Fyii2-data-mapper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hiqdev","download_url":"https://codeload.github.com/hiqdev/yii2-data-mapper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225865516,"owners_count":17536470,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hacktoberfest"],"created_at":"2024-11-22T08:24:45.181Z","updated_at":"2024-11-22T08:24:45.725Z","avatar_url":"https://github.com/hiqdev.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Yii2 Data Mapper\n\n**Data Mapper for Yii2**\n\n[![Latest Stable Version](https://poser.pugx.org/hiqdev/yii2-data-mapper/v/stable)](https://packagist.org/packages/hiqdev/yii2-data-mapper)\n[![Total Downloads](https://poser.pugx.org/hiqdev/yii2-data-mapper/downloads)](https://packagist.org/packages/hiqdev/yii2-data-mapper)\n[![Build Status](https://img.shields.io/travis/hiqdev/yii2-data-mapper.svg)](https://travis-ci.org/hiqdev/yii2-data-mapper)\n[![Scrutinizer Code Coverage](https://img.shields.io/scrutinizer/coverage/g/hiqdev/yii2-data-mapper.svg)](https://scrutinizer-ci.com/g/hiqdev/yii2-data-mapper/)\n[![Scrutinizer Code Quality](https://img.shields.io/scrutinizer/g/hiqdev/yii2-data-mapper.svg)](https://scrutinizer-ci.com/g/hiqdev/yii2-data-mapper/)\n[![Dependency Status](https://www.versioneye.com/php/hiqdev:yii2-data-mapper/dev-master/badge.svg)](https://www.versioneye.com/php/hiqdev:yii2-data-mapper/dev-master)\n\n[Data Mapper] based on Yii2 data base abstraction.\n\nDeliberately simple (no implicit behavior) library aimed to separate data persistence logics from data own logics.\n\n## Idea\n\n Abstraction | Implementation              | Examples\n-------------|-----------------------------|--------------------------------------\nDomain Layer | Entity, RepositoryInterface | Customer, CustomerRepositoryInterface\nData Mapper  | Repository, Specification   | CustomerRepostory\nData Access  | Query, QueryBuilder         | PDO, ActiveRecord, HiArt\nDATA         | Storage                     | DB, API, Queue, File System\n\n[Data Mapper]: https://en.wikipedia.org/wiki/Data_mapper_pattern\n\n## Installation\n\nThe preferred way to install this yii2-extension is through [composer](http://getcomposer.org/download/).\n\nEither run\n\n```sh\nphp composer.phar require \"hiqdev/yii2-data-mapper\"\n```\n\nor add\n\n```json\n\"hiqdev/yii2-data-mapper\": \"*\"\n```\n\nto the require section of your composer.json.\n\n## License\n\nThis project is released under the terms of the BSD-3-Clause [license](LICENSE).\nRead more [here](http://choosealicense.com/licenses/bsd-3-clause).\n\nCopyright © 2017-2018, HiQDev (http://hiqdev.com/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhiqdev%2Fyii2-data-mapper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhiqdev%2Fyii2-data-mapper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhiqdev%2Fyii2-data-mapper/lists"}