Download the PHP package feehi/cms without Composer

On this page you can find all versions of the php package feehi/cms. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package cms

FeehiCMS (English) 首款编写单元测试、功能测试、验收测试的yii2开源系统

基于yii2的CMS系统,运行环境与yii2(php>=5.4)一致。FeehiCMS旨在为yii2爱好者提供一个基础功能稳定完善的系统,使开发者更专注于业务功能开发。 FeehiCMS没有对yii2做任何的修改、封装,但是把yii2的一些优秀特性几乎都用在了FeehiCMS上,虽提供文档, 但FeehiCMS提倡简洁、快速上手,基于FeehiCMS开发可以无需文档,反倒FeehiCMS为yii2文档提供了最好的实例

Latest Stable Version License Build Status

演示站点

演示站点后台 用户名:feehicms 密码123456

更新记录

帮助

  1. 开发文档http://doc.feehi.com

  2. QQ群 936448696

  3. 微信
    微信

  4. Email [email protected]

  5. bug反馈

功能

使用Docker

1.下载镜像

2.创建容器

以上命令将会自动初始化FeehiCMS,并导入数据库(默认数据库为sqlite)
如果需要更使用其他数据库,比如mysql,执行:

如果需要使用postgresql则将DBDSN改为pgsql:host=pgsql-ip

也可以仅初始化FeehiCMS,然后通过web在线安装

然后访问http://ip:port/install.php,根据提示选择数据库类型,填写数据库用户名、数据库密码、后台管理员用户名、密码完成安装。

以上方式启动的容器只能用作开发环境,容器启动命令最终调用为php -S 0.0.0.0:80,如果用作production,可以执行

容器将启动php-fpm,并监听9000端口,配合nginx使用。nginx配置大致为

因为yii2会生成js/css,以及新上传的文件(图片)需要nginx webroot使用php fpm容器同一个文件夹:/usr/local/feehicms/frontend/web

安装

前置条件: 如未特别说明,本文档已默认您把php命令加入了环境变量,如果您未把php加入环境变量,请把以下命令中的php替换成/path/to/php

无论是使用归档文件还是composer,都有相应阶段让您填入后台管理用户名、密码

  1. 使用归档文件(简单,适合没有yii2经验者)
  2. 下载FeehiCMS源码 点击此处下载最新版
  3. 解压到目录
  4. 配置web服务器web服务器配置
  5. 浏览器打开 http://localhost/install.php 按照提示完成安装(若使用php内置web服务a器则地址为 http://localhost:8080/install.php )
  6. 完成
  1. 使用composer (推荐使用此方式安装)

    composer的安装以及国内镜像设置请点击 此处

    以下命令默认您已全局安装composer,如果您是局部安装的composer:请使用php /path/to/composer.phar来替换以下命令中的composer

    1. 使用composer创建FeehiCMS项目

    2. 依次执行以下命令初始化yii2框架以及导入数据库

    3. 配置web服务器web服务器配置
    4. 完成

运行测试

  1. 仅运行单元测试,功能测试(不需要配置web服务器)

  2. 运行单元测试,功能测试,验收测试(需要配置完web服务器)
    1. 分别拷贝backend,frontend,api三个目录下的tests/acceptance.suite.yml.example到各自目录,并均重名为acceptance.suite.yml,且均修改里面的url为各自的访问url地址
    2. 与上(仅运行单元测试,功能测试)命令一致

项目展示

运行效果


All versions of cms with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4.0
ext-json Version *
ext-mbstring Version *
yiisoft/yii2 Version >=2.0.13
yiisoft/yii2-bootstrap Version *
yiisoft/yii2-swiftmailer Version *
feehi/yii2-cdn Version *
yiisoft/yii2-imagine Version ^2.1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package feehi/cms contains the following files

Loading the files please wait ....