{"id":14966522,"url":"https://github.com/yiichina/yii2-cms","last_synced_at":"2025-04-07T07:17:40.293Z","repository":{"id":19101804,"uuid":"22330146","full_name":"yiichina/yii2-cms","owner":"yiichina","description":"YiiCMS - 基于 Yii2 的高度可定制化开源 CMS","archived":false,"fork":false,"pushed_at":"2019-11-17T00:35:54.000Z","size":560,"stargazers_count":156,"open_issues_count":8,"forks_count":65,"subscribers_count":28,"default_branch":"master","last_synced_at":"2025-03-31T06:05:45.150Z","etag":null,"topics":["cms","php","yii","yii2","yii2-cms"],"latest_commit_sha":null,"homepage":"https://www.yiicms.com","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yiichina.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-07-28T03:47:26.000Z","updated_at":"2024-11-14T01:52:33.000Z","dependencies_parsed_at":"2022-08-25T13:51:39.479Z","dependency_job_id":null,"html_url":"https://github.com/yiichina/yii2-cms","commit_stats":null,"previous_names":["yiichina/yii-cms"],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiichina%2Fyii2-cms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiichina%2Fyii2-cms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiichina%2Fyii2-cms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiichina%2Fyii2-cms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yiichina","download_url":"https://codeload.github.com/yiichina/yii2-cms/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247608160,"owners_count":20965953,"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":["cms","php","yii","yii2","yii2-cms"],"created_at":"2024-09-24T13:36:31.823Z","updated_at":"2025-04-07T07:17:40.275Z","avatar_url":"https://github.com/yiichina.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Yii CMS\n===================================\n\n[![Latest Stable Version](https://poser.pugx.org/yiichina/yii2-cms/v/stable.png)](https://packagist.org/packages/yiichina/yii2-cms)\n[![Total Downloads](https://poser.pugx.org/yiichina/yii2-cms/downloads.png)](https://packagist.org/packages/yiichina/yii2-cms)\n[![License](https://poser.pugx.org/yiichina/yii2-cms/license)](https://packagist.org/packages/yiichina/yii2-cms)\n[![Build Status](https://img.shields.io/travis/yiichina/yii2-cms.svg)](http://travis-ci.org/yiichina/yii2-cms)\n[![Yii2](https://img.shields.io/badge/Powered_by-Yii_Framework-green.svg?style=flat)](http://www.yiiframework.com/)\n\nYiiCMS (http://www.yiicms.com) 是 Yii Framework 中文社区 (http://www.yiichina.com) 发起的开源项目，遵循 BSD 开源协议。\n致力于帮助刚入门的同学理解 Yii2 的使用。\n\nYiiCMS群：7594839 (加群请注明：YiiCMS)\n\n\n目录结构\n--------\n\n```\ncommon\n    config/              contains shared configurations\n    mail/                contains view files for e-mails\n    models/              contains model classes used in both backend and frontend\n    tests/               contains tests for common classes    \nconsole\n    config/              contains console configurations\n    controllers/         contains console controllers (commands)\n    migrations/          contains database migrations\n    models/              contains console-specific model classes\n    runtime/             contains files generated during runtime\nbackend\n    assets/              contains application assets such as JavaScript and CSS\n    config/              contains backend configurations\n    controllers/         contains Web controller classes\n    models/              contains backend-specific model classes\n    runtime/             contains files generated during runtime\n    tests/               contains tests for backend application    \n    views/               contains view files for the Web application\n    web/                 contains the entry script and Web resources\nfrontend\n    assets/              contains application assets such as JavaScript and CSS\n    config/              contains frontend configurations\n    controllers/         contains Web controller classes\n    models/              contains frontend-specific model classes\n    runtime/             contains files generated during runtime\n    tests/               contains tests for frontend application\n    views/               contains view files for the Web application\n    web/                 contains the entry script and Web resources\n    widgets/             contains frontend widgets\nvendor/                  contains dependent 3rd-party packages\nenvironments/            contains environment-based overrides\n```\n\n安装方式\n--------\n创建数据库，推荐 MySQL，默认库名为 `yiicms`，编码选 `utf8mb4_general_ci`。\n\n```\ncomposer create-project --prefer-dist yiichina/yii-cms \u003cproject-name\u003e \n\ncd \u003cproject-name\u003e\n./init\n```\n修改数据库配置，位于 `@common/config/main-local.php`\n```\n./yii migrate\n```\n功能简介\n-------\n\n1. adminLTE\n2. 国际化\n3. RBAC\n4. 第三方登录\n5. 评论模块\n6. 后台更换主题\n7. 分享\n8. 赞功能\n9. 收藏\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyiichina%2Fyii2-cms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyiichina%2Fyii2-cms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyiichina%2Fyii2-cms/lists"}