PHPackages                             feehi/feehicms - 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. feehi/feehicms

ActiveProject[Framework](/categories/framework)

feehi/feehicms
==============

Feehi CMS Project Template

2.0.1.1(8y ago)194123[3 issues](https://github.com/liufee/feehicms/issues)BSD-3-ClausePHP

Since Jul 12Pushed 8y ago2 watchersCompare

[ Source](https://github.com/liufee/feehicms)[ Packagist](https://packagist.org/packages/feehi/feehicms)[ Docs](http://cms.feehi.com/)[ RSS](/packages/feehi-feehicms/feed)WikiDiscussions master Synced 4d ago

READMEChangelogDependencies (7)Versions (25)Used By (0)Security (14)

FeehiCMS **[(English)](docs/README_EN.md)**
===========================================

[](#feehicms-english)

基于yii2的CMS系统，运行环境与yii2(php&gt;=5.4)一致。FeehiCMS旨在为yii2爱好者提供一个基础功能完善的CMS系统，使开发者更专注于业务功能开发。 FeehiCMS没有对yii2做任何的修改、封装，但是把yii2的一些优秀特性几乎都用在了FeehiCMS上，对于学习yii2框架提供了良好的实例。

[![Latest Stable Version](https://camo.githubusercontent.com/305b7bccb7d3720438b2504c6991276b47d226eb5f4acb8f44a92d243865e11c/68747470733a2f2f706f7365722e707567782e6f72672f66656568692f636d732f762f737461626c65)](https://packagist.org/packages/feehi/cms)[![License](https://camo.githubusercontent.com/bb4423ccb2cd9fc100e4ebc61e506c46003b4f58885028c6080e6e66ed15bdc7/68747470733a2f2f706f7365722e707567782e6f72672f66656568692f636d732f6c6963656e7365)](https://packagist.org/packages/feehi/cms)[![Build Status](https://camo.githubusercontent.com/30122b394bdafb6e53300af0c93b298b51ad08e0b0be6f55bb6c933a358da9df/68747470733a2f2f7777772e7472617669732d63692e6f72672f6c69756665652f636d732e7376673f6272616e63683d6d6173746572)](https://www.travis-ci.org/liufee/cms)

更新记录
----

[](#更新记录)

0.1.3版本已经集成swoole作为FeehiCMS应用服务器，详细配置及使用参见[yii2-swoole](https://www.github.com/liufee/yii2-swoole)

帮助
--

[](#帮助)

开发文档

QQ群 258780872

[bug反馈](http://www.github.com/liufee/cms/issues)

功能
--

[](#功能)

- 网站设置
- 前后台菜单
- 文章管理
- 权限管理
- 多语言
- 记录管理员操作日志
- 缓存管理
- 前后台用户
- restful api
- 单元测试、功能测试、验收测试

快速体验
----

[](#快速体验)

1. 使用演示站点 演示站点后台 **用户名:feehicms 密码123456**

    - php7.0.0
        - 后台
        - 前台 [http://demo.cms.feehi.com](http://demo.cms.feehi.com/)
        - api
    - swoole (docker)
        - swoole演示前台
        - swoole演示后台
    - php7.1.8 (docker)
        - 备用演示前台1
        - 备用演示api1
        - 备用演示后台1 [http://demo.cms.qq.feehi.com/api](http://demo.cms.qq.feehi.com/api/articles)
    - php5.4 (docker)
        - 备用演示前台2 [http://php54.demo.cms.qq.feehi.com](http://php54.demo.cms.qq.feehi.com/)
        - 备用演示后台2
        - 备用演示api2 [http://php54.demo.cms.qq.feehi.com/api](http://php54.demo.cms.qq.feehi.com/api/articles)
2. 使用Docker容器

    ```
    $ docker pull registry.cn-hangzhou.aliyuncs.com/liufee/cms
    $ docker run --name feehicms -h feehicms -itd -p 80:80 -p 22:22 liufee/cms
    ```

安装
--

[](#安装)

前置条件: 如未特别说明，已默认您把php命令加入了环境变量

1. 使用归档文件

    > 使用此方式安装，后台超管用户名和密码会在安装过程中让您填入

    1. 下载FeehiCMS源码 [点击此处下载最新版](http://resource-1251086492.file.myqcloud.com/Feehi_CMS.zip)
    2. 解压到目录
    3. 配置web服务器(参见下面)
    4. 浏览器打开  按照提示完成安装(若使用php内置web服务器则地址为  )
    5. 完成
2. 使用composer (推荐使用此方式安装)

    > 使用此方式安装，默认的后台超级管理员用户名admin密码123456 composer的安装以及国内镜像设置请点击 [此处](http://www.phpcomposer.com/)

    1. 依次执行以下命令 ```
        $ composer create-project feehi/cms webApp
        $ cd webApp
        $ composer install -vvv
        $ php ./init --env=Production #初始化yii2框架
        $ php ./yii migrate/up --interactive=0 #导入FeehiCMS sql数据库，执行此步骤之前请先到common/config/main-local.php修改成正确的数据库配置
        ```
    2. 配置web服务器(参加下面)
    3. 完成

附:web服务器配置(注意是设置"path/to/frontend/web为根目录)

- php内置web服务器(仅可用于开发环境,当您的环境中没有web服务器时)

```
 cd /path/to/cms
 php ./yii serve

 #至此启动成功，可以通过localhost:8080/和localhost:8080/admin来访问了，在线安装即访问localhost:8080/install.php
```

- Apache

```
 DocumentRoot "path/to/frontend/web"

     # 开启 mod_rewrite 用于美化 URL 功能的支持（译注：对应 pretty URL 选项）
     RewriteEngine on
     # 如果请求的是真实存在的文件或目录，直接访问
     RewriteCond %{REQUEST_FILENAME} !-f
     RewriteCond %{REQUEST_FILENAME} !-d
     # 如果请求的不是真实文件或目录，分发请求至 index.php
     RewriteRule . index.php

     # ...其它设置...

```

- Nginx

```
server {
    server_name  localhost;
    root   /path/to/frontend/web;
    index  index.php index.html index.htm;
    try_files $uri $uri/ /index.php?$args;

    location ~ /api/(?!index.php).*$ {
       rewrite /api/(.*) /api/index.php?r=$1 last;
    }

    location ~ \.php$ {
        fastcgi_pass   127.0.0.1:9000;
        fastcgi_index  index.php;
        fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;
        include        fastcgi_params;
        try_files $uri=404;
    }
}
```

运行效果
----

[](#运行效果)

[![后台](docs/backend.png)](docs/backend.png)

[![前台](docs/frontend.png)](docs/frontend.png)

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity73

Established project with proven stability

 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.

###  Release Activity

Cadence

Every ~24 days

Recently: every ~15 days

Total

24

Last Release

3040d ago

Major Versions

0.1.3 → 1.0.0alpha12017-09-24

1.0.0rc2 → 2.0.02017-12-18

### Community

Maintainers

![](https://www.gravatar.com/avatar/0452fe858dc13954ce183f1dc537fdbb934a8d1255cb0a57d95256db00991609?d=identicon)[liufee](/maintainers/liufee)

---

Top Contributors

[![liufee](https://avatars.githubusercontent.com/u/7278053?v=4)](https://github.com/liufee "liufee (131 commits)")

---

Tags

phpcmsproject templateyii2 cmsphp frameworkyii2 advancedPHP CMSfeehifeehicms

### Embed Badge

![Health badge](/badges/feehi-feehicms/health.svg)

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

###  Alternatives

[feehi/cms

Feehi CMS Project Template

5323.0k](/packages/feehi-cms)[luyadev/luya-module-cms

The LUYA CMS module provides a full functional Content Management System for adding contents based on blocks.

32176.1k18](/packages/luyadev-luya-module-cms)

PHPackages © 2026

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