andymartinj / comments
Anax comments module.
1.2.2
2017-10-10 13:54 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
Anax module for system for comments
Installation
Install with composer
composer require andymartinj/comments
Copy view files
rsync -av vendor/andymartinj/comments/view/comments* view
The edit_comment.php view is necessary for editing comments. The comments.php is just for showing how you can add the comment section to a page.
Router files
rsync -av vendor/andymartinj/comments/config/route/comments.php config/route
You need to include the router file in your router configuration config/route.php
. There is a sample you can use in vendor/andymartinj/comments/config/route.php
.
DI services
You need to add the services di configuration config/di.php
. There is a sample you can use in vendor/andymartinj/comments/config/di.php
.
Database
The system uses a database to store comments. You can see the database structure in vendor/andymartinj/comments/data/comments.sqlite
.
License
This software carries a MIT license.
.
..: Copyright (c) 2017 Andre Johansson (anjd16@student.bth.se)