{"id":24228635,"url":"https://github.com/yiiplus/scaffold","last_synced_at":"2025-09-22T20:30:47.176Z","repository":{"id":57087198,"uuid":"131100806","full_name":"yiiplus/scaffold","owner":"yiiplus","description":"scaffold是一个基于Yii2高级项目模版工程化实现的应用程序","archived":false,"fork":false,"pushed_at":"2020-05-27T06:10:44.000Z","size":6427,"stargazers_count":16,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-05T03:41:22.244Z","etag":null,"topics":["admin","adminlte","beanstalkd","bootstrap","desktop","developer","devops","devops-tools","devtools","elasticsearch","elk","fis3","kafka","kibana","logstash","mysql","php","rabbitmq","redis","yii2"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yiiplus.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-04-26T04:40:30.000Z","updated_at":"2022-10-21T17:00:02.000Z","dependencies_parsed_at":"2022-08-20T16:00:25.876Z","dependency_job_id":null,"html_url":"https://github.com/yiiplus/scaffold","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/yiiplus/scaffold","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiiplus%2Fscaffold","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiiplus%2Fscaffold/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiiplus%2Fscaffold/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiiplus%2Fscaffold/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yiiplus","download_url":"https://codeload.github.com/yiiplus/scaffold/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiiplus%2Fscaffold/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276468610,"owners_count":25647957,"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","status":"online","status_checked_at":"2025-09-22T02:00:08.972Z","response_time":79,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["admin","adminlte","beanstalkd","bootstrap","desktop","developer","devops","devops-tools","devtools","elasticsearch","elk","fis3","kafka","kibana","logstash","mysql","php","rabbitmq","redis","yii2"],"created_at":"2025-01-14T11:17:54.411Z","updated_at":"2025-09-22T20:30:46.753Z","avatar_url":"https://github.com/yiiplus.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/yiisoft\" target=\"_blank\"\u003e\n        \u003cimg src=\"https://avatars0.githubusercontent.com/u/993323\" height=\"100px\"\u003e\n    \u003c/a\u003e\n    \u003ch1 align=\"center\"\u003eYii 2 Scaffold Project Kit\u003c/h1\u003e\n    \u003cbr\u003e\n\u003c/p\u003e\n\n易加-脚手架(scaffold)是一个基于[Yii2高级项目模版](https://github.com/yiisoft/yii2-app-advanced)工程化实现的应用程序，它将更加高效、规范和工程化的满足项目开发的需求。\n\n[![Latest Stable Version](https://img.shields.io/packagist/v/yiiplus/scaffold.svg)](https://packagist.org/packages/yiiplus/scaffold)\n[![Total Downloads](https://img.shields.io/packagist/dt/yiiplus/scaffold.svg)](https://packagist.org/packages/yiiplus/scaffold)\n[![Build Status](https://travis-ci.org/yiiplus/scaffold.svg?branch=master)](https://travis-ci.org/yiiplus/scaffold)\n[![DOCS](https://img.shields.io/badge/docs-passing-orange.svg)](https://github.com/yiiplus/scaffold/tree/master/docs)\n[![Yii2](https://img.shields.io/badge/Powered_by-Yii_Framework-green.svg?style=flat)](http://www.yiiframework.com/)\n[![Apache--2.0](https://img.shields.io/badge/LICENSE-Apache--2.0-blue.svg)](https://github.com/yiiplus/scaffold/blob/master/LICENSE)\n\nDIRECTORY STRUCTURE\n-------------------\n\n```$xslt\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\napi\n    config/              contains api configurations\n    controllers/         contains Web controller classes\n    models/              contains api-specific model classes\n    runtime/             contains files generated during runtime\n    tests/               contains tests for api application\n    web/                 contains the entry script and Web resources\nvendor/                  contains dependent 3rd-party packages\ndocker/                  contains docker for project\nvagrant/                 contains vagrant for project\nenvironments/            contains environment-based overrides\n```\n\n## 快速安装\n\n- 安装 Composer 依赖管理\n    - [MacOS/Linux/Unix](http://docs.phpcomposer.com/00-intro.html#Installation-*nix)\n    - [Windows](http://docs.phpcomposer.com/00-intro.html#Installation-Windows)\n- 安装 Docker 应用容器引擎\n    - [MacOS](https://store.docker.com/editions/community/docker-ce-desktop-mac)\n    - [Windows](https://store.docker.com/editions/community/docker-ce-desktop-windows)\n    - [CentOS](https://store.docker.com/editions/community/docker-ce-server-centos)\n    - [Ubuntu](https://store.docker.com/editions/community/docker-ce-server-ubuntu)\n    - [AWS](https://store.docker.com/editions/community/docker-ce-aws)\n    - [Fedora](https://store.docker.com/editions/community/docker-ce-server-fedora)\n    - [Debian](https://store.docker.com/editions/community/docker-ce-server-debian)\n- 基于容器化环境部署\n\n    ```bash\n    # 克隆代码\n    git clone https://github.com/yiiplus/scaffold.git\n    \n    # 进入项目目录\n    cd scaffold\n    \n    # 设置Git配置\n    git config user.name \"yourname\"\n    git config user.email \"your email\" \n    \n    # 编译环境\n    # 如果安装失败请尝试添加 GitHub 密钥：\n    # 进入 https://github.com/settings/tokens 点击 「Generate new token」 新建一个 Token;\n    # 编辑 vim composer.json\n    #    \"config\": {\n    #        \"github-oauth\": {\n    #            \"github.com\": \"\u003ctoken\u003e\"\n    #        }\n    #    }\n    composer run-script docker:build\n\n    # 代码规范检查\n    ./vendor/bin/phpcs --standard=PSR2 --ignore=tests,docs/,docker/,vendor/,console/migrations,backend/runtime,frontend/runtime,api/runtime,console/runtime,frontend/web/assets,backend/web/assets,api/web/assets -n --colors ./\n    # 质量检查工具\n    ./vendor/bin/phpmd environments,common,console,backend,frontend,api text phpmd.xml --exclude tests,docs/,docker/,vendor/,console/migrations,backend/runtime,frontend/runtime,api/runtime,console/runtime,frontend/web/assets,backend/web/assets,api/web/assets\n    ```    \n\n- 访问地址\n    - Admin: http://admin.scaffold.local   用户名:webmaster 密码:111111\n    - PC: http://www.scaffold.local\n    - H5: http://h5.scaffold.local\n    - App: http://app.scaffold.local\n    - FIS3: http://fis3.scaffold.local\n    - phpMyAdmin: http://pma.scaffold.local 服务器:mysql 用户名:root 密码:root\n\n## [文档中心](docs/README.md)\n- [入门学习](docs/quickstart.md)\n- [Docker手册](docs/docker.md)\n- [团队编码规范](docs/coding.md)\n- 接口文档\n    - [App接口文档](docs/app.md)\n    - [开放数据接口(openapi)](docs/openapi.md)\n    - [内部数据接口(innerapi)](docs/innerapi.md)\n- 数据字典\n    - [数据库手册](docs/database.md)\n    - [缓存手册](docs/cache.md)\n    - [邮件和短信](docs/mail.md)\n- 服务文档\n    - [日志服务](docs/logs.md)\n    - [队列服务](docs/queue.md)\n    - [定时任务](docs/crontab.md)\n    - [监控报警](docs/monitor.md)\n- 异常解决\n    - [错误对照表](docs/error.md)\n    - [调试及调试工具](docs/debug.md)\n- [技术白皮书](docs/develop.md)\n- [FAQ](docs/faq.md)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyiiplus%2Fscaffold","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyiiplus%2Fscaffold","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyiiplus%2Fscaffold/lists"}