PHPackages                             cargic/edu - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. cargic/edu

ActiveProject[Framework](/categories/framework)

cargic/edu
==========

Yii2 demo

10Roff

Since Jul 26Pushed 8y ago1 watchersCompare

[ Source](https://github.com/cargic/edu)[ Packagist](https://packagist.org/packages/cargic/edu)[ RSS](/packages/cargic-edu/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

YII2企业系统
========

[](#yii2企业系统)

企业系统使用Yii2框架开发，使用composer管理php依赖包(测试)

安装步骤
----

[](#安装步骤)

1. 安装 [composer](http://getcomposer.org/download/).
2. 在根目录执行以下命令来加载php依赖包文件
    - composer install
    - 生产环境加上 --no-dev 参数安装依赖包
3. 配置Apache/nginx根路径
    - /path/to/server/frontend/web/
    - /path/to/server/backend/web/
    - /path/to/server/api/web/
4. 配置文件夹权限
    - /path/to/server/backend/runtime 0755 apache apache
    - /path/to/server/backend/web/assets 0755 apache apache
    - /path/to/server/frontend/runtime 0755 apache apache
    - /path/to/server/frontend/web/assets 0755 apache apache
    - /path/to/server/api/runtime 0755 apache apache
    - /path/to/server/console/runtime 0755 apache apache
    - /path/to/server/data/uploads 0755 apache apache
5. 数据库配置
    - /path/to/server/common/config/db.php
6. memcached配置
    - /path/to/server/frontend/config/main.php
    - /path/to/server/backend/config/main.php
    - /path/to/server/api/config/main.php
    - /path/to/server/console/config/main.php
7. redis配置
    - /path/to/server/common/config/main.php
8. 其他参数配置
    - /path/to/server/common/config/params.php
9. 关闭调试模式及修改环境为生产环境
    - /path/to/server/frontend/web/index.php
    - /path/to/server/backend/web/index.php
    - /path/to/server/api/web/index.php
    - defined('YII\_DEBUG') or define('YII\_DEBUG', false);
    - defined('YII\_ENV') or define('YII\_ENV', 'product');
10. 定时任务配置

- crontab -e
- MAILTO=''
- \*/5 \* \* \* \* /path/to/server/console/yii trackingcode/subscribe

项目结构
----

[](#项目结构)

1. api为接口目录
2. backend为后台管理目录
3. console为脚本目录
4. frontend为前端用户目录
5. common为公用配置/类库目录
6. data为资源上传目录

脚本配置
----

[](#脚本配置)

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/c0d8b6dc5a862becd5a2c493124f8ecad729626dfc9b37ff787ecfcd3184f503?d=identicon)[cargic](/maintainers/cargic)

---

Top Contributors

[![mxker](https://avatars.githubusercontent.com/u/14236993?v=4)](https://github.com/mxker "mxker (17 commits)")

### Embed Badge

![Health badge](/badges/cargic-edu/health.svg)

```
[![Health](https://phpackages.com/badges/cargic-edu/health.svg)](https://phpackages.com/packages/cargic-edu)
```

###  Alternatives

[laravel/telescope

An elegant debug assistant for the Laravel framework.

5.2k67.8M192](/packages/laravel-telescope)[spiral/roadrunner

RoadRunner: High-performance PHP application server and process manager written in Go and powered with plugins

8.4k12.2M84](/packages/spiral-roadrunner)[nolimits4web/swiper

Most modern mobile touch slider and framework with hardware accelerated transitions

41.8k177.2k1](/packages/nolimits4web-swiper)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k36.7M259](/packages/laravel-dusk)[laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

708181.8M596](/packages/laravel-prompts)[cakephp/chronos

A simple API extension for DateTime.

1.4k47.7M121](/packages/cakephp-chronos)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
