{"id":15967454,"url":"https://github.com/rhosocial/yii2-base-models","last_synced_at":"2026-05-05T04:34:06.616Z","repository":{"id":46769859,"uuid":"77462830","full_name":"rhosocial/yii2-base-models","owner":"rhosocial","description":"Base Models for Yii 2 Applications.","archived":false,"fork":false,"pushed_at":"2023-05-04T01:41:03.000Z","size":492,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-09T23:19:24.111Z","etag":null,"topics":["model","mongodb","php","query","redis","relational-databases","user","yii2-extension"],"latest_commit_sha":null,"homepage":"https://dev.rho.social/products/yii2-base-models","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rhosocial.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-12-27T14:54:28.000Z","updated_at":"2021-10-01T11:54:13.000Z","dependencies_parsed_at":"2024-10-30T03:27:44.148Z","dependency_job_id":null,"html_url":"https://github.com/rhosocial/yii2-base-models","commit_stats":{"total_commits":202,"total_committers":3,"mean_commits":67.33333333333333,"dds":0.2821782178217822,"last_synced_commit":"c74f9793ead21cd46ff8cc1391294dedab6dd6c1"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhosocial%2Fyii2-base-models","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhosocial%2Fyii2-base-models/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhosocial%2Fyii2-base-models/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhosocial%2Fyii2-base-models/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rhosocial","download_url":"https://codeload.github.com/rhosocial/yii2-base-models/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247187135,"owners_count":20898258,"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":["model","mongodb","php","query","redis","relational-databases","user","yii2-extension"],"created_at":"2024-10-07T18:23:30.540Z","updated_at":"2025-10-20T07:01:56.954Z","avatar_url":"https://github.com/rhosocial.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"yii2-base-models\n================\nThe Base Models for Yii 2 Applications\n\n[![Latest Stable Version](https://poser.pugx.org/rhosocial/yii2-base-models/v/stable.png)](https://packagist.org/packages/rhosocial/yii2-base-models)\n[![License](https://poser.pugx.org/rhosocial/yii2-base-models/license)](https://packagist.org/packages/rhosocial/yii2-base-models)\n[![Reference Status](https://www.versioneye.com/php/rhosocial:yii2-base-models/reference_badge.svg)](https://www.versioneye.com/php/rhosocial:yii2-base-models/references)\n[![Build Status](https://img.shields.io/travis/rhosocial/yii2-base-models.svg)](http://travis-ci.org/rhosocial/yii2-base-models)\n[![Dependency Status](https://www.versioneye.com/php/rhosocial:yii2-base-models/dev-master/badge.png)](https://www.versioneye.com/php/rhosocial:yii2-base-models/dev-master)\n[![Code Coverage](https://scrutinizer-ci.com/g/rhosocial/yii2-base-models/badges/coverage.png)](https://scrutinizer-ci.com/g/rhosocial/yii2-base-models/)\n[![Scrutinizer Quality Score](https://scrutinizer-ci.com/g/rhosocial/yii2-base-models/badges/quality-score.png)](https://scrutinizer-ci.com/g/rhosocial/yii2-base-models/)\n[![Code Climate](https://img.shields.io/codeclimate/github/rhosocial/yii2-base-models.svg)](https://codeclimate.com/github/rhosocial/yii2-base-models)\n\nInstallation\n------------\n\nThe preferred way to install this extension is through [composer](http://getcomposer.org/download/).\nEither run\n\n```\nphp composer.phar require --prefer-dist rhosocial/yii2-base-models \"*\"\n```\n\nor add\n\n```\n\"rhosocial/yii2-base-models\": \"*\"\n```\n\nto the require section of your `composer.json` file.\n\nIf you want to use Redis or MongoDB ActiveRecord, please add\n```\n\"yiisoft/yii2-redis\": \"*\"\n```\nor\n```\n\"yiisoft/yii2-mongodb\": \"~2.1.0\"\n```\nto the require section of your `composer.json` file by yourself.\n\nNote: The MongoDB models need [PHP MongoDB extension](https://pecl.php.net/package/mongodb) 1.2.0 or above.\n\nUsage\n-----\n\nOnce the extension is installed, simply use it in your code by  :\n\n```php\nuse rhosocial\\base\\models\\models\\BaseEntityModel;\n\nclass Example extends BaseEntityModel\n{\n...\n}\n```\n\nfurther detailed usage seen in code file notes.\n\nContact Us\n----------\n\n[![Join the chat at https://gitter.im/rhosocial/yii2-base-models](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/rhosocial/yii2-base-models?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n\nIf you have any problems or good ideas about yii2-base-models, please discuss there, or send an email to i@vistart.me. Thank you!\n\nIf you want to send an email with your issues, please briefly introduce yourself first, for instance including your title and github homepage.\n\n[![yii2-base-models](https://img.shields.io/badge/Powered_by-rhosocial-green.svg?style=flat)](https://dev.rho.social/products/yii2-base-models)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhosocial%2Fyii2-base-models","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frhosocial%2Fyii2-base-models","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhosocial%2Fyii2-base-models/lists"}