Download the PHP package sheng/yiicms without Composer

On this page you can find all versions of the php package sheng/yiicms. 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 yiicms

YiiCms 企业站管理系统

基于 Yii 2.0.55 开发的开源企业网站内容管理系统。

前台采用 Bootstrap 3 + 现代化 CSS 变量体系,后台基于 AdminLTE + RBAC 权限管理。

GitHub: https://github.com/yongshengli/yiicms/


主要功能

模块 说明
新闻管理 新闻分类、发布、编辑、删除,支持批量操作
产品管理 产品分类、图文展示、参数配置
图片管理 企业相册分类、Pjax 分页浏览
下载管理 文件下载分类、上传管理
单页管理 关于我们、联系我们等独立页面
RBAC 权限 基于 mdmsoft/yii2-admin 的角色权限控制
菜单自定义 前台导航菜单、后台管理菜单均可配置
多模板 内置 3 套主题(默认/company/tradition)
多语言 中文简体/繁体/英文
友情链接 首页底部友情链接管理
广告管理 首页轮播广告管理
皮肤切换 后台 12 种 AdminLTE 皮肤,支持持久化

系统要求


快速开始

1. 克隆项目

2. 安装依赖

注意:项目使用 asset-packagist.org 管理前端资源,不再需要 fxp/composer-asset-plugin。

3. 配置数据库

或通过环境变量配置(推荐):

4. 导入数据库

5. 启动开发服务器

6. 访问

地址 说明
http://localhost:8888/ 前台首页
http://localhost:8888/backend/default/login.html 后台登录

后台默认账号:admin / 123456


环境变量

生产环境推荐通过环境变量配置敏感信息:

变量 用途 默认值
YII_DEBUG 调试模式 false(生产安全)
YII_ENV 运行环境 prod
DB_DSN 数据库 DSN mysql:host=localhost;dbname=yiicms
DB_USERNAME 数据库用户名 root
DB_PASSWORD 数据库密码 123456
COOKIE_VALIDATION_KEY Cookie 加密密钥 内置默认值
MAIL_FILE_TRANSPORT 邮件存文件模式 true(设为 false 真实发信)

Docker 部署


目录结构


URL 美化

项目默认启用 .html 后缀的伪静态 URL:


注意事项

  1. 密码安全:密码使用 bcrypt 哈希(Yii Security 组件),兼容旧 MD5 密码自动升级
  2. 开发模式:生产环境请关闭 YII_DEBUG
  3. 数据库权限:生产环境请创建专用数据库用户,不要使用 root
  4. 上传安全:图片上传包含 MIME 类型白名单校验(jpg/png/gif/webp)
  5. CSS 体系:前台使用 CSS 变量驱动的现代设计体系(assets/css/site.css),支持 5 色主题导航

许可证

GPL-3.0 - 详见 LICENSE.md


All versions of yiicms with dependencies

PHP Build Version
Package Version
Requires php Version >=5.6.0
yiisoft/yii2 Version ~2.0
yiisoft/yii2-bootstrap Version ^2.0
yiisoft/yii2-swiftmailer Version ~2.0.0
dmstr/yii2-adminlte-asset Version ^2.3
mdmsoft/yii2-admin Version ~2.0
kartik-v/yii2-widgets Version ^3.4
rmrevin/yii2-fontawesome Version ~2.9
sheng/ueditor Version 1.3.1
skeeks/yii2-assets-auto-compress Version *
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 sheng/yiicms contains the following files

Loading the files please wait ...