luyadev/luya-module-cms
最新稳定版本:5.1.2
Composer 安装命令:
composer require luyadev/luya-module-cms
包简介
The LUYA CMS module provides a full functional Content Management System for adding contents based on blocks.
README 文档
README
LUYA Content Management System
The LUYA CMS module provides a full functional Content Management System for adding contents based on blocks.
To use the LUYA CMS module you have to run a LUYA Application which is provided by the LUYA core.
For installation and usage please check: LUYA.IO
Installation
For the installation of modules Composer is required.
composer require luyadev/luya-module-cms
Configuration
Add the frontend and admin module of the cms module to your configuration modules section and bootstrap the cms frontend module:
'modules' => [ // ... 'cms' => 'luya\cms\frontend\Module', 'cmsadmin' => 'luya\cms\admin\Module', // ... ]
Initialization
After successfully installation and configuration run the migrate, import and setup command to initialize the module in your project.
1.) Migrate your database.
./vendor/bin/luya migrate
2.) Import the module and migrations into your LUYA project.
./vendor/bin/luya import
Please note that the module names cms and cmsadmin are required and should not be changed!
Developers
If you want to contribute, make sure to read the guidelines.
Unit Testing
cp phpunit.xml.dist phpunit.xmldocker compose updocker compose run luyacmsphpunit teststo run all tests ordocker compose run luyacmsphpunit tests/src/helpers/UrlTest.phpto run a specific test.
统计信息
- 总下载量: 173.95k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 32
- 点击次数: 1
- 依赖项目数: 25
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-03-08

