phkl16 / comment
Anax 评论模块。
v1.8.0
2017-10-09 17:10 UTC
Requires
- php: >=5.6
- 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
README
phkl16 评论模块
安装
使用 composer 安装,然后与您的 Anax 安装集成模块。
使用 composer 安装
composer require phkl16/comment
路由文件
rsync -av vendor/phkl16/comment/config/route2/comment.php config/route2 rsync -av vendor/phkl16/comment/config/route2/userController.php config/route2
您需要在路由配置 config/route.php 中包含路由文件。您可以使用 vendor/phkl16/comment/config/route2.php 中的示例。
视图文件
rsync -av vendor/phkl16/comment/view/* view/
依赖注入服务
您需要在 di 配置文件 config/di.php 中添加服务配置。您可以使用 vendor/phkl16/comment/config/di.php 中的示例。
数据库
您需要有一个数据库配置文件。您可以使用 vendor/phkl16/config/database.php 中的示例。您还需要构建数据库,您可以在 vendor/phkl16/sql 下找到表样例文件。
许可证
此软件采用 MIT 许可证。
.
..: Copyright (c) 2017 Philip Klingzell (philip.klingzell@gmail.com)