alvo / comment
Anax评论模块。
1.3.9
2017-10-28 00:40 UTC
Requires
- php: >=7.0
- anax/configure: ^1.0
- anax/database: ^1.1
- anax/di: ^1.0
- anax/htmlform: ^1.0
- anax/page: ^1.0
- anax/request: ^1.0
- anax/response: ^1.0
- anax/router: ^1.0
- anax/session: ^1.0
- anax/textfilter: ^1.0
- anax/url: ^1.0
- anax/view: ^1.0
- mos/cimage: ^0.7.19
- symfony/yaml: ^3.3
README
Alvo评论模块。
关于
本软件包包含了使用Anax构建评论系统的所有必需组件。
注意,除了bootstrap 4测试版之外,没有包含任何样式。
设置
-
将vendor目录下的route.php文件添加到您的配置目录中
-
将vendor目录下的route2文件夹复制到您的配置目录中
-
将vendor/alvo/comment/config/di.php中的服务添加到您的config/di.php文件中
-
将vendor目录下views文件夹中的模板添加到您的views文件夹中
-
将src文件夹中的functions.php添加到您的src文件夹中
-
将以下内容添加到自动加载器中
"autoload": { "files": [ "src/functions.php" ] }
数据库
为了使一切工作正常,您需要设置一个MySQL数据库。为此,只需运行sql/sqtup.sql文件。您还必须将config/database.php复制到您的配置文件夹中。
测试
我的模拟数据库在rpi上运行。因此,您可以仅使用make test。
许可协议
本软件采用MIT许可协议。
.
..: Copyright (c) 2017 Alexey V (alevor657@gmail.com)