andymartinj/comments

Anax comments module.

1.2.2 2017-10-10 13:54 UTC

This package is not auto-updated.

Last update: 2025-03-30 06:04:20 UTC


README

Build Status Build Status Scrutinizer Code Quality Code Coverage

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)