libra / libra-cms
基于ZF2的CMS,允许您轻松创建自己的网站,包括文章管理等功能
0.8.1
2018-01-22 22:15 UTC
Requires
- php: >=5.5.0
- doctrine/doctrine-module: ^0.8
- doctrine/doctrine-orm-module: ^0.8
- leafo/scssphp: ^0.1.9
- libra/ckeditor-assets: 3.*
- libra/ckfinder-assets: 2.*
- libra/datatables-assets: ^1.9
- libra/fancybox-assets: 2.*
- libra/jquery-assets: 2.*
- libra/jquery-ui-assets: ^1.10
- libra/libra-app: ^0.7
- libra/libra-article: ^0.6
- libra/libra-article-image-zooming: 0.*
- libra/libra-locale: ^0.5
- monolog/monolog: ^1.5
- twbs/bootstrap-sass: ^3.3.0
- vnagara/runtime-config: 1.*
- zendframework/zend-developer-tools: 0.*
- zf-commons/zfc-twig: 1.*
- zf-commons/zfc-user-doctrine-orm: 0.1.3
Suggests
- libra/jquery-ui-assets: Add jQuery User Interface library that will be installed in public dir
This package is not auto-updated.
Last update: 2024-09-13 02:27:05 UTC
README
*[CMS]: 内容管理系统 *[DB]: 数据库
Libra CMS
基于ZF2的CMS,允许您轻松创建自己的网站,包括文章管理等功能。
添加文章、使用所见即所得编辑器编辑文章以及将图片上传到文章中(只需将图片的class设置为"zoom",并指定与原始图片不同的尺寸)都很容易。
Libra提供了一个具有管理意识的应用程序。要利用此功能
- router:在admin路由内部创建子路由,并通过/admin/route URL使应用程序可访问。
- layout:在view/layout/admin-layout-name文件夹下的任何模块中创建新的布局,其中默认布局名称为default。
概念
- 应该很容易使用。
- 应该很容易添加新的模块。
安装
###使用Composer(推荐,已更新)
- 如果需要,请下载composer.phar并运行
php composer.phar create-project libra/libra-cms libra-cms dev-master
- 转到已安装目录libra-cms。将config/autoload/local.php.dist文件复制到local.php,并使用您特定的数据库名称和用户名/密码更新参数。从data/libra-cms.sql导出SQL到数据库。
- 运行
php -S localhost:8080 -t public
(假设您在已安装的文件夹内)。 - 享受吧!
默认管理用户:admin,密码:libra-cms。
配置
- 为运行脚本的用户添加对public/images/stories的写入权限以保存文章编辑期间的照片。
- 将public/robots.txt文件更改为满足您的需求。
感谢您尝试Libra CMS。